Documentation Center
AlienVault® USM Appliance™

How to Change SSH Session Timeout in USM Appliance

Version: 5.3.2 and later
Deployment: All deployments

By default after the 5.3.2 release, AlienVault USM Appliance console's timeout is set at 400 seconds (which is about 6m 45s). To avoid SSH timeouts and prevent console or SSH session timeout in idle connections after 400 seconds, you can fine-tune the ClientAliveInterval option in the SSH server configuration file.

Modifying the console timeout configuration value can be done by changing the value needed in the /etc/ssh/sshd_config file, for example: "ClientAliveInterval 600" (10 minutes). The number is in seconds.

# vi /etc/ssh/sshd_config

...

ClientAliveCountMax 0

ClientAliveInterval 600

...

Once you have modified it, you need to restart the ssh service:

# service ssh restart

[ ok ] Restarting OpenBSD Secure Shell server: sshd.

Once the changes have been applied, if a new SSH session is idle more than N (the value applied) seconds, the SSH session will be closed:

SSH timeout when N seconds is exceeded