The Daily Static
  The Daily Static
UF Archives
Register
UF Membership
Ad Free Site
Postcards
Community

Geekfinder
UFie Gear
Advertise on UF

Forum Rules
& FAQ


Username

Password


Create a New Account

 
 

Back to UserFriendly Strip Comments Index

nohup question: by nedludd2005-02-28 13:17:21
  ssh won't die until most of its child processes do by bwkaz 2005-02-28 15:19:33
I can never end an ssh session if I have a local gvim window open (where the gvim process is running on the ssh server, with the X protocol tunneled through ssh) either. Even though the gvim binary forks a few times and exits, so you get your shell back, it's still counted as a child process by ssh, so ssh won't exit until it does. I can also start a "make" in the background, even with nohup, and ssh won't close the connection until make is done.

One way I've found around it is to open another ssh session to the same server, then find and kill the sshd process that's running as me, serving the first connection.

But, apparently screen circumvents this sshd behavior somehow, if it works. So I guess that's so much the better.
[ Reply ]

 

[Todays Cartoon Discussion] [News Index]

Come get yer ARS (Account Registration System) Source Code here!
All images, characters, content and text are copyrighted and trademarks of J.D. Frazer except where other ownership applies. Don't do bad things, we have lawyers.
UserFriendly.Org and its operators are not liable for comments or content posted by its visitors, and will cheerfully assist the lawful authorities in hunting down script-kiddies, spammers and other net scum. And if you're really bad, we'll call your mom. (We're not kidding, we've done it before.)