Mailing List Archive

[Bug 52] ssh hangs on exit
https://bugzilla.mindrot.org/show_bug.cgi?id=52


leanne <njleanne@hotmail.com> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |njleanne@hotmail.com




--- Comment #58 from leanne <njleanne@hotmail.com> 2008-05-15 17:05:09 ---
(In reply to comment #57)
> Close resolved bugs after release.


i think this problem is still exists in hp-ux. if we use "ssh server
'sleep 50 & exit'", the server will hang there 50 secs and then exit,
that is to say, it exits until sleep 50 secs.

and when i use an infinite loop and make it run background, and then
use exit to logout, ssh will still hang there. i debug the code, and
found in channel_garbage_collect(channels.c), chan_is_dead is return 1
for c->isatate and c->ostate equals CHAN_INPUT_OPEN. so the channel
remains open.

Can someone help me check this problem.
the script i use is just this:
#! /sbin/sh

while (( 1 ))
do
sleep 10 >/dev/null 2>&1
done

--
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
openssh-bugs mailing list
openssh-bugs@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-bugs