Last Updated: February 25, 2016
· mborn319

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