Re: SSH Hangs on exit

From: Stephen Kitchener (steve.kitchener@aspentech.com)
Date: 11/28/02

  • Next message: Sashikala Rajalingam: "Password Authentication"
    From: Stephen Kitchener <steve.kitchener@aspentech.com>
    To: Randy Young <rwyoung@verisign.com>
    Date: 28 Nov 2002 16:53:58 +0000
    
    

    On Wed, 2002-11-27 at 17:13, Randy Young wrote:
    > You would find that if you telnetted into a machine and started a job in
    > the background using the & it would complain when you tried to log off
    > that you still had a job running. Try using the nohup method when you put
    > it in the background and you should be able to log off right away.

    I've tried this and it dosn't seem to work, unless I am missing a ssh
    config param that allows nohup to work.

    >
    > Randy
    >
    > On Tue, 26 Nov 2002, Dr. Poo wrote:
    >
    > > I've been having this problem as well, but i didn't figure it was a bug. My
    > > experience with ssh is very minimal...3-4 weeks.
    > >
    > > The hang occurs when i log in via ssh, run a job and put it in the background
    > > via the '&' flag (% backup file1 & | % restore file1 &) and try to exit.
    > > Well, i have an email sent to me at the time of job completion... and it
    > > matches with the time it took for ssh to successfully close all connections.
    > > So i figured one and one was two. __BUT__ i havn't done any actually testing
    > > for consistency or anything of the sort.
    > >
    > > Let me know if you find anything else out.
    > >
    > > Chris
    > >
    > > On Monday 25 November 2002 10:05 pm, Adam Jurevicius wrote:
    > > > Hello all,
    > > >
    > > > Forgive me for posting a known issue but i can't find a resolution
    > > > anywhere. Please see my details below and let me know if you require any
    > > > more information in order to debug this very annoying issue. If this issue
    > > > has been resolved please send my any links that may help me.
    > > >
    > > > Thanks,
    > > > Adam
    > >
    > > ----------------------------------------
    > > Content-Type: text/plain; charset="us-ascii"; name="Attachment: 1"
    > > Content-Transfer-Encoding: 7bit
    > > Content-Description:
    > > ----------------------------------------
    > >
    >
    > --
    > rwyoung@verisign.com
    >
    > A fool is someone whose pencil wears out before its eraser
    > does.
    >
    > -- Marilyn vos Savant

    -- 
    Stephen M Kitchener
    Unix Systems Administrator EMEA APAC
    Supply Chain Division.
    AspenTech UK
    1 Century Court, 
    Tolpits Lane,
    Watford, Herts, 
    WD18 9PT
    TEL       +44 (0) 1923 652125
    FAX       +44 (0) 1923 652215
    EMAIL   steve.kitchener@aspentech.com
    WEB     http://www.aspentech.com
    Aspentech
    driving process profitability