[Bug 253] Patch to write process ID to a file when ssh sets itself into daemon mode
bugzilla-daemon at mindrot.org
bugzilla-daemon at mindrot.org
Wed Feb 9 15:58:29 EST 2005
http://bugzilla.mindrot.org/show_bug.cgi?id=253
djm at mindrot.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |WONTFIX
------- Additional Comments From djm at mindrot.org 2005-02-09 15:58 -------
We have something functionally equivalent in the tree now. If you use the
"ControlPath" or -S options to ssh, then you can also use -O commands to find
out the pid of a running ssh or to request it to exit. E.g.
ssh -NnfS ~/.ssh/blah.ctl user at blah
(ssh authenticated and then forks)
Check the PID:
ssh -S ~/.ssh/blah.ctl -O check user at blah
Master running (pid=21068)
Terminate backgrounded ssh:
ssh -S ~/.ssh/blah.ctl -O exit user at blah
Exit request sent.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the openssh-bugs
mailing list