Prevent ssh timeouts

Locally add the following to ~/.ssh/config
ServerAliveInterval 120 # null packet every 120 seconds
On the server side add the following:
ClientAliveInterval 120 # null packet every 120 seconds
ClientAliveCountMax 720 # 24hs

Done!

Comments

Popular posts from this blog

Como configurar el control de directv para que funcione con el Tv

Show all values in Numpy array

Converting unicode date to datetime object.