The Linux Sysadmin Compendium

This should hopefully grow with time.

SSH tips and tricks

SSH Keep Alives

In /.ssh/config add:

Host *
    ServerAliveInterval 240

or for a specific host:

Host remotehost
    HostName remotehost.com
    ServerAliveInterval 240

If you just want to use it once:

ssh -o ServerAliveInterval=60 myname@myhost.com

Updated: