From owner-freebsd-questions@FreeBSD.ORG Fri Mar 10 04:42:11 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 182B116A420 for ; Fri, 10 Mar 2006 04:42:11 +0000 (GMT) (envelope-from bill@celestial.com) Received: from mail.mi.celestial.com (dagney.celestial.com [192.136.111.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id BCDED43D45 for ; Fri, 10 Mar 2006 04:42:10 +0000 (GMT) (envelope-from bill@celestial.com) Received: from localhost (localhost [127.0.0.1]) by mail.mi.celestial.com (Postfix) with ESMTP id C084D1F7FA; Thu, 9 Mar 2006 20:42:09 -0800 (PST) Received: from mail.mi.celestial.com ([127.0.0.1]) by localhost (alexis.mi.celestial.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 07600-06; Thu, 9 Mar 2006 20:42:09 -0800 (PST) Received: by mail.mi.celestial.com (Postfix, from userid 203) id 312641F775; Thu, 9 Mar 2006 20:42:09 -0800 (PST) Date: Thu, 9 Mar 2006 20:42:08 -0800 From: Bill Campbell To: freebsd-questions@freebsd.org Message-ID: <20060310044208.GA19760@alexis.mi.celestial.com> Mail-Followup-To: freebsd-questions@freebsd.org References: <311AACD2-C64F-40BF-8CDA-A5624AFA79B0@visionn.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <311AACD2-C64F-40BF-8CDA-A5624AFA79B0@visionn.com> User-Agent: Mutt/1.4.2.1i X-Virus-Scanned: amavisd-new at mi.celestial.com Subject: Re: connection reset by peer from one location but not another X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd@celestial.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Mar 2006 04:42:11 -0000 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@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.