SSH connection hanging on logout

Markus Friedl Markus.Friedl at informatik.uni-erlangen.de
Thu Jun 7 17:56:34 EST 2001


On Wed, Jun 06, 2001 at 08:52:26PM -0700, Tim Rice wrote:
> > please, could someone with a system where:
> > 	$ ssh -t host
> > 	% sleep 1234 &
> > 	% exit
> > 	$
> > hangs with openssh try whether rlogin hangs, too?
> 
> Platform		SSH hangs	Rlogin hangs
> Solaris 7		Y		N
> UnixWare 2.03		Y		N
> UnixWare 2.13		Y		N
> UnixWare 7.1.0		Y		N
> SCO Open Sever 3	Y		N
> SCO Open Server 5	Y		N
> Redhat 6.2		Y		N
> Caldera eServer 2.3	Y		N
> 
> Hmm, I've got source to Linux. 
> 
> > 
> > if rlogin does not hang, could you please check the source of rlogin
> > and try to figure out how it handles the filedescriptors that connect
> > rlogind to the shell. what happes with the filedescriptors after the
> > shell dies?
> 
> Nothing is jumping out at me. If you'd like to see for yourself,
> ftp://ftp.multitalents.net/pub/netkit-rsh-0.10.tgz (~50K)
> has rlogin/rlogind source in it.

sorry, i don't have the time to check linux/sco/solaris.
(check behaviour on SIGCLD, pty handling, etc).

however:

Platform		SSH hangs	Rlogin hangs
OpenBSD			N		N
BSD/OS 			N		N

this is all i can do right now.

-m



More information about the openssh-unix-dev mailing list