Client side: Server side:putty settings -> Connection and set the value of "Seconds between keepalives" to 30 For ssh commandline: vi /etc/ssh/sshd_config ClientAliveInterval 30 TCPKeepAlive yes ClientAliveCountMax 99999 Setting the environment variable TMOUT. To check this you can just do:
or
If it is set, you could change it or unset it. To change the value:
Where the number is the number of seconds until you get logged out. Otherwise unset it to turn off the feature:
|
Wiki >