[PATCH]: Patch to fix hang on exit bug under Linux and add optional exit delay

Markus Friedl markus at openbsd.org
Fri Nov 16 06:13:51 EST 2001


On Thu, Nov 15, 2001 at 11:51:28AM -0500, Nicolas Williams wrote:
> > e.g. currently for
> > 	$ ssh host 'tail -f bla | grep bla'
> > 	^C
> > tail and grep still run on the remote host.
> 
> Shouldn't sshd kill -HUP the process groups of its sessions when the
> client closes them??

add killpg() to session_destroy_all() and test.



More information about the openssh-unix-dev mailing list