Re: logout from ssh session

From: Gerald C. (list_at_psycho-hazard.net)
Date: 01/14/04

  • Next message: Mike Hoskins: "Re: logout from ssh session"
    Date: Wed, 14 Jan 2004 09:36:32 +0100
    To: secureshell@securityfocus.com
    
    

    If you try to do that on an xterm or a console, the shell will say you "zsh:
    you have running jobs." (i'm using the Z shell), and you'll have to type
    logout a second time in order to lougout.
    If you want to background a process and then logout, use the 'setsid' command
     that detach the process from the terminal.

    Best Regards,
    GC.

    Le Tue, Jan 13, 2004 at 09:15:52PM +0200, David Danovich a écrit:
    > Hi,
    >
    > I am not sure that I am asking the right forum but I will try.
    >
    > I have several computers which connected through ssh using following
    > command
    >
    > ssh user_name@computer_name
    >
    > and it works fine until I want to run some command (some job) in
    > background using following
    > command
    >
    > run &
    >
    > where run is some executable program. When I sent such a command and job
    > still running I am not
    > able to logout from the computer. When I write logout computer just
    > freeze and wait till job finished.
    > Without job running in background it is not a problem to logout.
    > I do not know what is wrong. May be I need to change something in
    > config_sshd? If I use telnet everything is fine.
    >
    > I would appreciate any help.
    >
    > Thank you David
    >

    -- 
    Gérald Colangelo
    binarym@psycho-hazard.net
    http://psycho-hazard.net/~binarym/
    

  • Next message: Mike Hoskins: "Re: logout from ssh session"

    Relevant Pages

    • Re: logout from ssh session
      ... Using nohup command as you ... Subject: logout from ssh session ... > David Danovich wrote: ...
      (SSH)
    • Re: logout from ssh session
      ... This is not an ssh issue, but a shell one. ... Shell won't logout while ... background processes exist. ... > and it works fine until I want to run some command in ...
      (SSH)
    • Re: how to put a program in backgroud and logout?
      ... the background are effectively nohupped in csh. ... Does the shell complain of stopped jobs? ... What does the 'jobs' command show before you logout? ...
      (comp.unix.questions)
    • Re: Can I schede a command to be run when I have log out?
      ... If you are running a command in the background and you ... want it to keep running even after you logout, ... Play Monopoly Here and Now at Yahoo! ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
      (Debian-User)
    • [SLE] gone - no logout
      ... Suse 9.1 Pro is installed in my server, when using command "last" I see: ... user pts/1060 machine date-time gone - no logout ... Sometimes there is logout time nicely displayed. ...
      (SuSE)