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.

 

ssh-session-timeouts

0 (0)
Article Rating (No Votes)
Rate this article
    Attached Files
    There are no attachments for this article.
    Related Articles RSS Feed
    Adding WebPortal or control panel or datacenter for autologin in jump server
    Viewed 2644 times since Wed, Jun 14, 2017
    Configure DUO 2FA in Ezeelogin SSH jumphost
    Viewed 2011 times since Thu, Nov 23, 2017
    How to do Port forwarding from jump server to target Linux machine?
    Viewed 3090 times since Wed, Jun 14, 2017
    Can I use Google 2FA, Yubikey , DUO simultaneously?
    Viewed 2525 times since Thu, Dec 14, 2017
    Enable Google reCaptcha
    Viewed 380 times since Fri, Feb 1, 2019
    How to import servers from a file into Ezeelogin ssh gateway?
    Viewed 2301 times since Fri, Sep 1, 2017
    Add servers behind a Tunnel Host in SSH Gateway or Add servers that are accessible via port forwarding via the ssh gateway server.
    Viewed 2377 times since Wed, Jan 17, 2018
    How to increase the speed of execution in parallel shell?
    Viewed 1167 times since Fri, Mar 30, 2018
    Add / update / delete servers through ezeelogin API
    Viewed 510 times since Fri, Mar 15, 2019
    Add a server using ssh key pair in ezeelogin
    Viewed 389 times since Fri, Mar 22, 2019