"Timeout, server not responding."
When I SSH back in everything is as it was right before I got disconnect, tmux is still running and weechat is still connected to the IRC network.
So here is what I have tried: I change my ~/.ssh/config to have the TCPKeepAlive and ServerAliveInterval lines. This did nothing.
I even tried adding "ServerAliveInterval 60" to /etc/ssh/ssh_config and then did "sudo /etc/init.d/sshd restart" and reconnected.
I even stopped MySQL (which I don't even use and it was only running from an incomplete mail server setup), Apache, and NTP. I was thinking maybe there was some high traffic coming on my server.
I've also tried connecting from a different ISP.
I even reverted my SSH config file back to the original and restart SSHD, no luck.
I contacted support but they didn't mention anything about possible network problems on there end, so I'm left to assume this problem is either with my VPS SSH configuration on computer I'm connecting from, or the ISPs I'm testing from.
In the /etc/ssh/sshd_config on your linode (server)
This causes the linode to send keepalives to the client every 120 seconds and allow the client to fail to respond 5 times before disconnecting.
I added those options, awitko. Hopefully, if the ISPs start to go a bit crazy that'll keep it from disconnecting. Thanks!
I think windows has a default timeout of 10 minutes for idle network connections so that is another constraint. I would think that could be changed by a regedit. I spread my clientalives over this interval. Now that I think about it might shave a couple seconds off the interval to make sure all five pings get in under the timeout period.