Configure shell activity timeout in ssh gateway
How to enable SSH Session Timeout
Overview: This article explains how to enable SSH session timeout in Ezeelogin, so that idle sessions are automatically disconnected from the SSH gateway once they exceed a configured inactivity threshold.
Ezeelogin lets you automatically disconnect idle SSH sessions from the gateway by configuring the Shell Activity Timeout. This improves security and resource efficiency by terminating sessions that remain inactive for a specified period.
1. Shell Activity Timeout.
To enable this feature, navigate to Settings > General > Security. Locate the Shell Activity Timeout parameter and set it to 300 seconds. SSH sessions that remain idle will then be automatically disconnected after the specified number of seconds. A value of 0 means the session never times out.
In the example below, the SSH session is set to disconnect after 300 seconds.
After 300 seconds of inactivity, the message “Session timed out due to inactivity” will appear in the ezsh shell.

2. Consider Server Activity.
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 setting so that SSH sessions are not terminated prematurely when users are engaged in activities that require extended periods of processing. To enable this feature Navigate to Settings > General > Security -> Consider Server Activity and enable it.

After configuring both the Shell Activity Timeout and Consider Server Activity settings, save your changes to apply the new session management rules.
