Defect: OpenSSH hangs on logout

Greg Wooledge wooledg at eeg.ccf.org
Thu Jun 7 23:28:32 EST 2001


On Wed, Jun 06, 2001 at 02:16:13PM -0700, Kevin Steves wrote:

> does 10.20 hang with 2.9 without the patch?  with the patch?

It hangs both with and without the patch.  Every time.  (It certainly
doesn't act like a race condition, as someone else mentioned.)

Just to refresh memories, this is the symptom:

  box1$ ssh somewhere
  somewhere$ sleep 500 &
  somewhere$ logout
  (hangs)

Then, if I kill the sleep process in another window, the connection is
immediately terminated and everything is back to normal.

Using "nohup sleep 500 >/dev/null 2>&1 &" does the same thing.

Using bash2's "disown" command doesn't help, either.



More information about the openssh-unix-dev mailing list