Wednesday, April 16, 2014

Disable ssh timeout on client site

I think this is the nth time I Google for it, and look for the right result that solve this problem. Never have the solution stick in my mind. Keeping this for my own reference. :)

Update /etc/ssh/ssh_config with this line :

ServerAliveInterval 300

Reference : How to disable SSH timeout

The reference said it works for Ubuntu (I personally tested) / Debian. I am setting this in CentOS, it works too. :)