From owner-freebsd-questions@FreeBSD.ORG Sat Mar 6 03:49:21 2004 Return-Path: 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 18D8F16A4CE for ; Sat, 6 Mar 2004 03:49:21 -0800 (PST) Received: from lillith-iv.ovirt.dyndns.ws (ppp36-152.lns1.adl1.internode.on.net [150.101.36.152]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1546543D45 for ; Sat, 6 Mar 2004 03:49:20 -0800 (PST) (envelope-from ws+freebsd-questions@au.dyndns.ws) X-Envelope-From: ws+freebsd-questions@au.dyndns.ws X-Envelope-To: freebsd-questions@freebsd.org Received: from [192.168.100.132] (ppp36-152.lns1.adl1.internode.on.net [150.101.36.152])i26BnDa8088773; Sat, 6 Mar 2004 22:19:14 +1030 (CST) (envelope-from ws+freebsd-questions@au.dyndns.ws) From: Wayne Sierke To: Rishi Chopra In-Reply-To: <40499559.4040207@cal.berkeley.edu> References: <40496C83.80605@cal.berkeley.edu> <1078563364.657.10.camel@ovirt.dyndns.ws> <40499559.4040207@cal.berkeley.edu> Content-Type: text/plain Message-Id: <1078573789.657.71.camel@ovirt.dyndns.ws> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Sat, 06 Mar 2004 22:19:49 +1030 Content-Transfer-Encoding: 7bit X-Spam-Score: 0 () X-Scanned-By: MIMEDefang 2.38 cc: freebsd-questions@freebsd.org Subject: Re: ssh disconnecting [WAS: Getting Cut-Off] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Mar 2004 11:49:21 -0000 On Sat, 2004-03-06 at 19:39, Rishi Chopra wrote: > Wayne, > > I would not suspect the hardware. My suspicion is this has something to > do with SSH configuration. Is there a setting within the FreeBSD SSH > configuration files that specifies disconnection of idle connections? > > I didn't think my connection was idle since file transfer was occuring, > but since there was no activity in the SSH terminal window, I could see > how that could be taken as 'idle'; at any rate, there must be a setting > that specifies number of minutes for an idle connection, and/or a way of > turning off automatic idle disconnects. > > A little help from the longbeards please? Arrrrrrrrrrgh! My primary reason for suspecting hardware/drivers is that in my case, both the current and previous sshd configs were unchanged from the default install. A diff of the sshd_conf between my old and new servers were identical (apart from version comments). This suggests to me that unless 1) there has been a fundamental change in the default behaviour of sshd between 4.8 and 5.2, or 2) my previous setup wasn't working properly (ie. not doing idle disconnects when it should have been) then the cause must lie elsewhere. Additionally, I believe I have witnessed occasions on one of my LAN-connected machines when a ssh session *hasn't* disconnected when left idle for a lengthy period, further suggesting that it is not a configuration issue. Unfortunately I'm still at the stage of only being mostly certain about having witnessed uninterrupted connections. It would certainly help if someone could indicate whether ssh disconnections should be expected or not (on a LAN) with an unmodified sshd configuration. Wayne