SIGCHLD race *trivial* patch

Nicolas Williams Nicolas.Williams at
Fri Oct 26 23:34:21 EST 2001

On Fri, Oct 26, 2001 at 09:52:57AM +0200, Markus Friedl wrote:
> On Thu, Oct 25, 2001 at 09:21:02PM -0400, Nicolas Williams wrote:
> > 2. I think the normal expectation is that when there are no more open
> >    sessions or channels or children that sshd should exit. The opposite
> >    ought to be an option. IMHO
> for protocol v2 the client decides when to close the connection.

Well, that's not the behaviour I see with OpenSSH 2.9p2!

And as I say, I think there should be an option either way.

Most folk expect ssh to exit as soon as all the work is done on the
server side.


Visit our website at

This message contains confidential information and is intended only 
for the individual named.  If you are not the named addressee you 
should not disseminate, distribute or copy this e-mail.  Please 
notify the sender immediately by e-mail if you have received this 
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free 
as information could be intercepted, corrupted, lost, destroyed, 
arrive late or incomplete, or contain viruses.  The sender therefore 
does not accept liability for any errors or omissions in the contents 
of this message which arise as a result of e-mail transmission.  If 
verification is required please request a hard-copy version.  This 
message is provided for informational purposes and should not be 
construed as a solicitation or offer to buy or sell any securities or 
related financial instruments.

More information about the openssh-unix-dev mailing list