Prevent SSH connections from timing out so often

The default null  packet used by an SSH client to keep the connection alive is usually sent every 5 minutes. If the SSH sessions are timing out frequently, it might help to send those packets faster.

Add these lines to your SSH client configuration and profit:

Host *
    ServerAliveInterval 60
    ServerAliveCountMax 2