Deactivate SSH timeout

To deactivate sshd timeout, just add these lines at the end of your /etc/ssh/sshd_config :

KeepAlive yes
ClientAliveInterval 60

And don't forget to restart the daemon :

sudo /etc/init.d/ssh restart

post a comment