Summary
Keeping SSH connections alive is possible by adjusting the settings in the SSH client's settings for Windows, Linux, and Mac OS X operating systems, such as the PuTTY program and the /.ssh/config file.
1
Additionally, the ServerAliveInterval option can be used to send packets over the network between the device and the destination server every 60 seconds, also known as “keep alive” traffic.
2
Monitoring the connection and reducing the keepalive interval until the connection is stable can also help.
1
According to
Summary
This article provides instructions on how to keep SSH connections alive, depending on the user's hardware and software configuration. It explains how to adjust the settings in the SSH client's settings for Windows and Linux and Mac OS X operating systems, such as the PuTTY program and the /.ssh/config file. Additionally, it provides tips on how to monitor the connection and how to reduce the keepalive interval until the connection is stable.
How to keep SSH connections alive
a2hosting.com
ServerAliveCountMax Sets the number of server alive messages (see below) which may be sent without ssh(1) receiving any messages back from the server. If this ...
How to Keep Alive SSH Sessions
patrickmn.com
The Host value, which you can name anything you want, is simply a label for the other settings. To enable the keep-alive system-wide, edit the file ...
How to keep SSH sessions alive -
rackspace.com