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.
Written by Adam Stankiewicz
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Ssh
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#