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. :)
Previously known as jcrys26's kdb. A learning dump and sharing place.