Fix SSH Timeouts on Linux
Does your development machine keep dropping SSH connections? Fix it!
Edit .ssh/config:
sudo nano ~/.ssh/config
Add the following line:
ServerAliveInterval 60
This will send a packet to the server every 60 seconds, which keeps the connection from timing out and therefore closing.
Tip thanks to z9.io
http://z9.io/2008/12/10/how-to-fix-ssh-timeout-problems/
Written by Michael Born
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Terminal
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#