How to fix ssh timeout problems | Something Odd!
https://odd.blog/2008/12/10/how-to-10.12.2008 · Actually, there are 2 ways to fix it. You only need to do one of them so choose whichever one is easiest for you. You’ll need root access, so for most people it’s probably safer to do the client fix rather than the server fix. On the server, login as root and edit /etc/ssh/sshd_config and add the line: ClientAliveInterval 60.