Re: ssh disconnecting [WAS: Getting Cut-Off]

From: Rishi Chopra (rchopra_at_cal.berkeley.edu)
Date: 03/06/04

  • Next message: Alex de Kruijff: "Re: /root file system full"
    Date: Sat, 06 Mar 2004 01:09:45 -0800
    To: Wayne Sierke <ws+freebsd-questions@au.dyndns.ws>
    
    

    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
    > 
    > 
    > 
    _______________________________________________
    freebsd-questions@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-questions
    To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
    

  • Next message: Alex de Kruijff: "Re: /root file system full"