Increase SSH Connection Timeout in Linux

 SSH timeouts as a result of inactivity can be quite irritating. Then each time you have to reconnect the session

Steps:

Login with SSH

vi /etc/ssh/sshd_config

change the "ClientAliveInterval" to different value

 Timeout value = ClientAliveInterval * ClientAliveCountMax

  if ClientAliveInterval=1200, Time out =1200*3=3600sec =1hr

service ssh restart


No comments:

Post a Comment

How to increase ESXi webclient login user application timeout

 To increase the default 15min timeout to 2hr Login to the esxi webclient on the right top corner ->Click the User login tab Select "...