9ycehq
Last Updated: February 25, 2016
·
515
· sheerun
Photo on 08.01.2013 at 04.15

Prevent ssh connection from dropping

On server open /etc/ssh/sshd_config or on client open /etc/ssh/ssh_config and add following line:

ServerAliveInterval 60 

After restarting sshd service, the connection is going to be pooled in 60 seconds interval. This will prevent firewalls from dropping it.

Say Thanks
Respond
Filed Under