SSH FAQ
From JhuAcmWiki
tavido
[edit]
I get "Connection reset by peer" when I leave my sessions open too long. How do I stop this?
Your connection may be reset when you're logged into computers in our office, and not actively using the session for a long period of time.
If you're using Unix or running SSH in Cygwin, you can prevent this by adding the following to the ".ssh/config" file in your home directory (on your own computer):
Host * ServerAliveInterval 10

