Red Hat Bugzilla – Bug 77242
nohup doesn't work under openssh
Last modified: 2007-04-18 12:48:08 EDT
When I ssh into RedHat 8.0
# nohup sleep 70&
ssh won't quit.
Created attachment 83424 [details]
I uploaded a patch, which seems to work for me. Any
I tried the patch with openssh-3.5p1-2 and it doesn't change anything for me, the logout is still
delayed by 70 seconds if I use your example.
BTW, I think this is a very long-standing bug in openssh, it was introduced already around
Created attachment 89907 [details]
This is a port of the patch posted here:
Besides that I also changed the default, so to get the hanging behaviour (no
potential data loss) back, put "CloseOnSIGCHILD no" into your sshd_config.
Seems to work fine so far on a 7.3 i686 and a rawhide PPC machine.
*** This bug has been marked as a duplicate of 39128 ***