"Connection Reset By Peer" on ssh sessions

Ben Scott dragonhawk at gmail.com
Sat Feb 4 14:37:00 EST 2006


On 2/4/06, Fred <puissante at lrc.puissante.com> wrote:
> I've got an annoying problem with the new Verizon Fios service.

  I'm shocked -- *SHOCKED* -- to hear of a problem on a Verizon feed.  ;-)

> If I leave an ssh session open and sits idle for longer than 2-5 minutes, it
> is killed with a "Connection Reset by Peer" error message.

  Everyone else has posted good info.  Do what they said.  One thing
to be certain on, though: If you have an active session for that
period, it works fine, right?  If so, that would rule out a DHCP lease
or PPPoE session expiration.

  You might try running a "ping" to the SSH server continuously in
parallel to the SSH session, and watch for any disruption at the same
time the SSH session dies.

  You might do a "before and after" traceroute to see if anything is
changing in the network topology on the route.  That might uncover
something.  Also look for RFC-1918 addresses on your connection or
along the way.  Those will often be a sign that NAT is in use.

> Any suggestions before I pull my hair out?

  Don't use Verizon?  ;-)

-- Ben



More information about the gnhlug-discuss mailing list