Re: logout from ssh session

From: Eloi Granado (eloi.granado_at_millorsoft.net)
Date: 01/14/04

  • Next message: Greg Wooledge: "Re: logout from ssh session"
    To: secureshell@securityfocus.com
    Date: Wed, 14 Jan 2004 10:46:56 +0100
    
    

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    [kanuso@eloi]s1[~] top &
    [1] 28229
    [kanuso@eloi]s1[~] logout
    There are stopped jobs.

    [1]+ Stopped top

    This is not an ssh issue, but a shell one. Shell won't logout while
    background processes exist. You may want to try the screen program,
    and instead of putting the process in background detach the screen.

    P.D.: I've just thought of the implications of the last sentence for
    "unexperienced" users :P Anyway, I can't imagine any of you pulling
    the cable from the monitor :D.

    Regards,
    Eloi Granado

    On Tuesday 13 January 2004 20:15, David Danovich wrote:
    > 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

    - --
    - -----------------------------------------------------
    Eloi Granado (eloi.granado@millorsoft.net)
    PGP Key: http://eloi.millorsoft.es/pgp-publickey.asc
    - -----------------------------------------------------
    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.2.2 (GNU/Linux)

    iD8DBQFABRAQewfs1FO2wi0RAm4LAJ4ugRpmtZTahyFnLg3fV64a/JNHSwCeNea7
    X2PhY60nDkyNO+2kS9uvRW4=
    =giC+
    -----END PGP SIGNATURE-----


  • Next message: Greg Wooledge: "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
      ... If you try to do that on an xterm or a console, the shell will say you "zsh: ... If you want to background a process and then logout, use the 'setsid' command ...
      (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)