ssh - connection reset by peer

I use ssh to work on the server (10.4) remotely from home (10.5). If I leave my machine idle, I get disconnected after a couple of minutes. I get the following error message:

Read from remote host "server name": Connection reset by peer
Connection to "server name" closed.

This is very irritating.

Any suggestions?

Re: ssh - connection reset by peer

How long does the connection last for? And is this consistent?

We recently had the exact same problem (where the connection would get reset after 131 minutes). This was consistent across machines. What we noticed is that this happened when going across subnets on our networks, but not when the two systems were on the same subnet. Increasing the "keep alive" setting on our firewall is what ultimately fixed the problem for us.

I'm not certain if something changed in OS X that might start triggering this or if it's more network specific.

Dave

Thanks Dave, modifying the

Thanks Dave, modifying the "keep alive" setting solved the problem!