What exactly causes a ssh connection to interrupt? When you idle for a while, it disconnects.
How do I keep the connection alive (without
autossh or reconnect)?
This is most likely a firewall which cuts your idle connection after a while.
You can configure the
Send a KeepAlive every 5 minutes to the server:
If you have control over the
Here are a few things you can try:
1) It's most likely the shell which is timing out. Disable the timeout by unsetting
2) Configure PuTTY to send keepalive packets by going into:
3) Tweak your
Save the file and restart