From owner-freebsd-questions@FreeBSD.ORG Sat Mar 6 07:02:57 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 7101716A4CE for ; Sat, 6 Mar 2004 07:02:57 -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 9B4DF43D2F for ; Sat, 6 Mar 2004 07:02:56 -0800 (PST) (envelope-from ws@ovirt.dyndns.ws) X-Envelope-From: ws@ovirt.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])i26F2pa8091563; Sun, 7 Mar 2004 01:32:52 +1030 (CST) (envelope-from ws@ovirt.dyndns.ws) From: Wayne Sierke To: Chuck Swiger In-Reply-To: <4049D3F9.9020604@mac.com> References: <40496C83.80605@cal.berkeley.edu> <4049D3F9.9020604@mac.com> Content-Type: text/plain Message-Id: <1078585409.657.205.camel@ovirt.dyndns.ws> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Sun, 07 Mar 2004 01:33:29 +1030 Content-Transfer-Encoding: 7bit X-Spam-Score: 0 () X-Scanned-By: MIMEDefang 2.38 cc: Rishi Chopra cc: freebsd-questions@freebsd.org Subject: Re: 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 15:02:57 -0000 On Sun, 2004-03-07 at 00:06, Chuck Swiger wrote: > Rishi Chopra wrote: > > I connect to the FreeBSD machine via SSH, and use secure file transfer > > to upload/download from the machine. > > > > In the last week, the FreeBSD machine has dropped my connection on 3 > > seperate occasions. I'll queue up some work and leave the machine > > unattended, only to return at a later time and find that the connection > > has been closed. > > Is sshd configured with the "KeepAlive" option set? > man sshd_config says KeepAlive is enabled by default. The commented-out entry in sshd_config is: #KeepAlive yes Looking at some other entries I guess these represent the defaults according to the man page. Is there any reason not to trust that sshd has KeepAlive enabled by default? Is KeepAlive an issue at all, if the link is not subject to disruption? > Does netstat -i or -s report any errors? Maybe you have a flaky cable? > > Do you have any packet-filtering or NAT translation involved on one of the two > hosts? [ Your description of the setup suggests no, but the behavior you > describe can happen if one were using a (busy and/or dumb) stateful firewall... ]