ssh-agent subprocess parentage

Daniel Kahn Gillmor dkg at
Wed May 11 01:13:59 EST 2011

On 05/10/2011 06:10 AM, Phil Pennock wrote:
> Safety measure so that if the agent dies you don't get left with a login
> program reaping its child and resetting the tty while the shell is still
> active?  ssh to localhost, then run a second shell, in that kill -9
> $PPID, see yourself disconnected while the shell you were typing into is
> still running.

Yep, i can see how it's useful in this context.  But i still think the
documented behavior would be useful in other contexts (and it provides a
standard, cross-platform way to actually be sure that the subprocess
actually dies).

It seems like one of three things should happen:

 0) the documentation should be changed to describe the actual behavior

 1) the behavior should change to match the documentation

 2) both behaviors should be available (since there seem to be
reasonable arguments for either use) -- i'm not sure how the user would
choose between them, though.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 1030 bytes
Desc: OpenPGP digital signature
URL: <>

More information about the openssh-unix-dev mailing list