[Bug 52] ssh hangs on exit

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Mon Jan 29 10:17:36 EST 2007


http://bugzilla.mindrot.org/show_bug.cgi?id=52


djm at mindrot.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




------- Comment #42 from tsi at ualberta.ca  2007-01-29 00:39 -------
(In reply to comment #41)
> (From update of attachment 1227 [details])
> I have tested this on pretty much everything I have (FC6, OpenBSD 4.0,
> NetBSD 3.1, AIX 4+5, Solaris 2.5+8, HP-UX 11).    I ran both the normal
> regress tests and Damien's test case and both passed.

> I did note that "ssh server 'sleep 20 & exit'" still hangs but I think
> that's supposed to since the descriptor is still open.  Redirecting
> stderr and stdout lets the connection close right away.

Yes, that's correct.  One of my goals for this change was to make
portable sshd's behaviour in this respect match OpenBSD sshd's.


------- Comment #43 from djm at mindrot.org  2007-01-29 10:17 -------
This patch has been committed and will be in OpenSSH-4.6p1. Thanks to
Marc Aurele La France for the great work in tracking this down and
fixing it!




------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


More information about the openssh-bugs mailing list