SSH connection hanging on logout

John Bowman bowman at math.ualberta.ca
Mon May 14 04:44:53 EST 2001


Although still no instances of data loss have been reported with the patch
I posted to this list on 2001-05-08, I have now noticed one inconsistency
with the handling of X connections when the patch is applied to openssh-2.9p1
that I thought I should report:

Without the patch the following will hang (just as any other process will):

ssh host
xclock &
exit

With the patch the ssh connection closes immediately, without waiting for the
X application to terminate. This does not seem to be desirable; suppose the
process had been an emacs or netscape session.
 
Is it possible to modify the patch so that it will wait for unclosed X
sessions to terminate (but not hang on other processes), just as the commercial
version of SSH does?

-- John Bowman

University of Alberta
http://www.math.ualberta.ca/~bowman



More information about the openssh-unix-dev mailing list