Main Archive Page > Month Archives > openssh-unix-dev archives |
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.
--dkg
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev