Configure shell activity timeout in ssh gateway
Enable ssh session timeout so that idle ssh session are automatically disconnected from the ssh gateway.
Set the variable Shell Activity Timeout so that ssh session which are idle are automatically timed out after the set number of seconds. A value of '0' means it will never timeout. In the below example, we have set the ssh session to disconnect after 300 seconds.
The Consider Server Activity means, the ssh time would not time out if the user is compiling a kernel on the server or running a command like 'top' which would never end . Enable this variable so that ssh session are not timed out when user interaction is not there but there are commands the user has left to run to completion.