[PATCH] dropbear-051: Kill child (shell) process when dropbear exits

Matt Johnston matt at ucc.asn.au
Mon Sep 22 23:16:53 WST 2008


On Fri, Sep 19, 2008 at 05:52:07PM -0400, Farrell Aultman wrote:
> Dropbear child process (shells created by client connections) would hang
> around after the server process
> has exited.  This patch will kill these child processes when the dropbear
> server exits.

I'm not convinced that Dropbear should be killing off these
processes. Shouldn't they just notice that their stdin has
gone away and then quit by themselves? If a child process is
waiting to write out data (eg "ssh host "cat > /tmp/file")
then might lose some bytes if killed abruptly.

Matt


More information about the Dropbear mailing list