Configure ssh 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.



0 (0)
Article Rating (No Votes)
Rate this article
    Attached Files
    There are no attachments for this article.
    Related Articles RSS Feed
    Can I use Google 2FA, Yubikey , DUO simultaneously?
    Viewed 3060 times since Thu, Dec 14, 2017
    Set SSH User Expiry
    Viewed 1497 times since Thu, Sep 20, 2018
    record rdp session
    Viewed 1452 times since Thu, Dec 6, 2018
    How to change the private key in use and change the default public key in use?
    Viewed 3030 times since Fri, Dec 1, 2017
    Adding WebPortal or control panel or datacenter for autologin in jump server
    Viewed 3173 times since Wed, Jun 14, 2017
    Parallel Shell - How to use it?
    Viewed 1941 times since Thu, Nov 23, 2017
    How to stream the ssh sessions in real time?
    Viewed 3810 times since Wed, Nov 22, 2017
    Configure ssh certificate based authentication
    Viewed 291 times since Fri, Apr 17, 2020
    Enable Google reCaptcha
    Viewed 673 times since Fri, Feb 1, 2019
    encryption type used for securing users ssh logs in ezeelogin
    Viewed 1711 times since Thu, Jun 15, 2017