Hung OpenSSH 3.5p1 sessions/connections

From: Mattias Larsson (sparhawk@beyond.nu)
Date: 02/19/03

  • Next message: SBONNET@mediametrie.fr: "how to log connexion of SSH users in chroot environnement ?"
    From: Mattias Larsson <sparhawk@beyond.nu>
    To: secureshell@securityfocus.com
    Date: 19 Feb 2003 23:10:12 +0100
    
    

    Hello all.

    We are running OpenSSH 3.5p1 on Solaris 2.6 and 8 servers and some
    people sometimes gets a problem with hung connections.

    The easiest way to notice if when someone opens up a xterm window and by
    using -e executes ssh and in that way gets connected to a remote system.

    The person in question does some normal work, runs a few commands and so
    on and then by CTRL+D exits the session.

    The problem is that the connection to the other machine is not closed.
    ssh seems to be hanging there, with a force close of the xterm the
    problem is solved but some of my fellow workers gets a bit frustrated by
    this.

    I know this can happen if you start some daemon or background process
    and then try to leave the session but it happends in other cases as
    well.

    The logfiles has not been of any help at all even when set to debug
    level and I have no way of forcing this behaviour. I just thought I
    write out here and see if anyone else have experienced the problem.

    --
    Mattias Larsson - sparhawk@beyond.nu
    


    Relevant Pages

    • Cisco IOS IPS issue
      ... connecting to an MPLS cloud with about 40 sites and on my Gi0/1 port I ... After enabling IPS on the Gi0/0 outbound interface, ... session thresholds are well below max connection limits. ... max-incomplete tcp connections per host is 100000. ...
      (comp.dcom.sys.cisco)
    • Re: Configure SBS Remote Desktop for one session ONLY, BUT not locking new connection attempts
      ... Sorry, Russ, but the /console switch only connects if the server ... I log on to my own session in the server, from another workstation, ... Once at the remote site, I figure I need access to some data that I ... connections limit (whenever you're able to connect with an already ...
      (microsoft.public.windows.server.sbs)
    • Re: Concurrent connections for PIX
      ... > I'm aware that there can be multiple connections on a single website. ... I did not get a chance to measure & observe the problem, as the campus ... The other issue we had is with UDP. ... of a UDP 'session' is with simple timers. ...
      (comp.security.firewalls)
    • Re: maximum number of sessions
      ... NAS and SAN storage devices generally run one of the free Linux ... that's also two connections. ... like to know why mapping to an ip address creates an additional session to ... We have 6 pcs connecting to a 7 pc we call our server. ...
      (microsoft.public.windowsxp.network_web)
    • Re: RWW - log off after timeout?
      ... There is software out there that does allow for multiple connections to XP ... doing something at the time of the logoff or if the session has just been ... really need a way to determine if the RWW part of the session has "timed ...
      (microsoft.public.windows.server.sbs)