connection reset by peer from one location but not another

Bill Campbell freebsd at celestial.com
Fri Mar 10 04:42:11 UTC 2006


On Thu, Mar 09, 2006, Brian Ross wrote:
>I'm getting a "connection reset by peer" disconnect after about 10  
>minutes (or less) when I SSH to my 5.4-STABLE server from my home  
>connection (cable DHCP), but I can stay connected all day long from  
>work (DSL DHCP). I couldn't find any mention of connection reset by  
>peer in the list archive, so I was wondering what I could monitor  
>(running SSH in verbose mode doesn't tell me much) to find where I'm  
>actually getting booted off from. Since it only happens with one  
>connection, I'm thinking it isn't my actual server that's causing the  
>reset. But I do not know what log file to monitor in order to  
>investigate further.

My guess is that your connection to the remote machine is via a
NAT (Masquerading) connection, and there's no activity on the
connection.  Running something like top when you're not actively
using the connection will probably prevent the timeout.

Bill
--
INTERNET:   bill at Celestial.COM  Bill Campbell; Celestial Software LLC
URL: http://www.celestial.com/  PO Box 820; 6641 E. Mercer Way
FAX:            (206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676

The day-to-day travails of the IBM programmer are so amusing to most of
us who are fortunate enough never to have been one -- like watching
Charlie Chaplin trying to cook a shoe.


More information about the freebsd-questions mailing list