hanging ssh connections (still)

Rob Hagopian rob at hagopian.net
Fri Dec 1 08:11:46 EST 2000


Whoops! I missed the latest latest snapshot... I'm using the one after
2.3.0p1 was released but before the latest latest... I'll check that one
out tommrow...
								-Rob

On Thu, 30 Nov 2000 mouring at etoh.eviladmin.org wrote:

> Damien backed out of all the current hacks.  So yes any background
> processes will cause ssh client to hang until they are resolved.
> 
> This is also true for doing "nohup" commands.
> 
> I have another angle to look at tonight.  But I spent most of last night
> without any luck in coming up with a work around that is correct.  (I have
> a workaround.. But it's a hack to the server_loop() call which causes
> channel errors which cause it to close right.. Which is 100% wrong.=)
> 
> If you look back on the list Damien Miller describes the problem as it
> occurs under Linux.
> 
> try:
> 
> ssh localhost
> then: sleep 10&exit
> 
> if it does not quit ssh right away it's the same problem that we are
> looking for a solution on Linux.
> 
> - Ben
> 
> 
> 
> On Thu, 30 Nov 2000, Rob Hagopian wrote:
> 
> > Using the latest snapshot, I'm still getting periodic ssh sessions hanging
> > after they've completed. It used to be very common, but the prior fixes
> > reduced the frequency to about one hung per day (out of thousands). These
> > don't timeout at any point, they'll hang around for days if not killed
> > manually (blocking the scripts from continuing).
> > 
> > The commands ssh is hanging on are nothing but simple shell scripts on
> > FreeBSD 3.5 (the shell for the account is tcsh, the scripts use sh).
> > 
> > I'm not sure how to go about providing more information as it's not
> > practical to run sshd in debug mode every time. I'd be happy to try
> > anything out though...
> > 								-Rob
> > 
> > 
> 
> 






More information about the openssh-unix-dev mailing list