How-To Self-Reference

The Ubuntu Blog has a nice lil' article about keeping SSH sessions alive It basically boils down to editing your /etc/ssh/ssh_config file and adding the following:

# /etc/ssh/ssh_config

ServerAliveInterval 5

The number is the number of seconds to send the small keep alive which keeps the connection open. Ubuntu Blog suggests changing it from 5 to 240 or 300 (4 or 5 minutes).

– Chris


Christopher R Marshall


Enjoys programming web applications; especially in Go and Ruby. Also enjoys playing ice hockey as a goalie and playing the guitar.


I'll send it to you

Email versions of my posts. Plus about once a month, I send a manually curated list of interesting things I've found around the web.

    We respect your privacy. No spam ever. Just a message from me to you. Unsubscribe at any time.