From owner-freebsd-questions@FreeBSD.ORG Sat Mar 6 01:12:18 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 E3C7616A4CE for ; Sat, 6 Mar 2004 01:12:18 -0800 (PST) Received: from m00.ca.astound.net (m00.ca.astound.net [64.85.239.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id D575043D39 for ; Sat, 6 Mar 2004 01:12:18 -0800 (PST) (envelope-from rchopra@cal.berkeley.edu) Received: from cal.berkeley.edu (ca.astound.net [64.85.239.2]) by m00.ca.astound.net (8.12.10/8.12.10) with ESMTP id i269BLw7000391; Sat, 6 Mar 2004 01:11:21 -0800 Message-ID: <40499559.4040207@cal.berkeley.edu> Date: Sat, 06 Mar 2004 01:09:45 -0800 From: Rishi Chopra User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Wayne Sierke References: <40496C83.80605@cal.berkeley.edu> <1078563364.657.10.camel@ovirt.dyndns.ws> In-Reply-To: <1078563364.657.10.camel@ovirt.dyndns.ws> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new 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 09:12:19 -0000 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! -- Rishi Chopra http://www.ocf.berkeley.edu/~rchopra Wayne Sierke wrote: > On Sat, 2004-03-06 at 16:45, Rishi Chopra wrote: > >>I have two machines in my loft (a FreeBSD server and a Win2k box) >>connected via CAT5 crossover cable. >> >>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. >> >>No one else has physical access to the area when this occurs; can anyone >>tell me what's going on or what I need to do in order to keep from being >>disconnected in the future? >> >>Unfortunately the file transfer client portion of SSH Secure Shell is >>very poor at resuming queued work, so this is starting to cause me an >>inconvinience. > > > I've been having a similar problem, afaict since I moved my server to > 5.2-RELEASE from 4.8-RELEASE and to a EPIA 5000 board (from a Pentium > system). > > I've not had a disconnection while I've been actively using the > connection but most connections that are left idle get disconnected > after a while (seems to be around 10 to 15 minutes). This happens > consistently at the moment from my development system which can be > running any of 5.2-RELEASE, Windows 98SE or Windows 2000 and has been > seen to occur on another couple of systems. My suspicions currently lie > with the on-board network adapter on the EPIA board using the vr driver > but I have no direct evidence to support it, other than I don't recall > ever seeing it with my old server. > > > Wayne > > >