ssh keepalive
Frequently my ssh TCP sessions are canceled by overly zealous NAT / VPN setups. Adding this to your ~/.ssh/config
Host *
ServerAliveInterval 60
tells ssh to send a no-op packet to the server once every 60 seconds.
More permanently, this can be added to /etc/ssh/ssh_config for system-wide support:
ServerAliveInterval 60
Written by Anders Brownworth
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#