Page 1 of 1

Eliminating the ssh client timeout

Posted: Mon Jun 24, 2013 2:27 pm
by fsalvelt
Hi guys,

I am connecting to my Vertica Linux host via putty in Windows. Is there a way in Linux I can eliminate the inactivity timeout period? Or at least set it to something longer?

Thank you!

Re: Eliminating the ssh client timeout

Posted: Mon Jun 24, 2013 2:40 pm
by JimKnicely
HI,

You should be able to set a timeout on a user by user basis with the TMOUT environment variable set in the ~/.bash_profile.

Example (for 15 minute timeout):

export TMOUT=900

Or, for everyone, modify the following settings in the /etc/ssh/sshd_config file.

Example (for 15 minute timeout):

ClientAliveInterval 900
ClientAliveCountMax 0