Re: Hung OpenSSH 3.5p1 sessions/connections

From: Jan-Benedict Glaw (jbglaw@lug-owl.de)
Date: 02/20/03

  • Next message: Giles Constant: "Automatic locking off ssh agent"
    Date: Thu, 20 Feb 2003 07:51:19 +0100
    From: Jan-Benedict Glaw <jbglaw@lug-owl.de>
    To: Mattias Larsson <sparhawk@beyond.nu>
    
    
    

    On Wed, 2003-02-19 23:10:12 +0100, Mattias Larsson <sparhawk@beyond.nu>
    wrote in message <1045692612.1455.5.camel@dragon>:
    > 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.

    This would be my first guess. Is it possible that some backgrounded
    command gets started in a non-obvious way? Could you please do some 'ps'
    playing and look for processes (on the server) which are owned by a user
    who just got hung?

    MfG, JBG

    -- 
       Jan-Benedict Glaw       jbglaw@lug-owl.de    . +49-172-7608481
       "Eine Freie Meinung in  einem Freien Kopf    | Gegen Zensur
        fuer einen Freien Staat voll Freier Bürger" | im Internet!
       Shell Script APT-Proxy: http://lug-owl.de/~jbglaw/software/ap2/