| Summary: | Patch to write process ID to a file when ssh sets itself into daemon mode | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Portable OpenSSH | Reporter: | Evan Prodromou <evan> | ||||
| Component: | ssh | Assignee: | OpenSSH Bugzilla mailing list <openssh-bugs> | ||||
| Status: | CLOSED WONTFIX | ||||||
| Severity: | enhancement | ||||||
| Priority: | P2 | ||||||
| Version: | -current | ||||||
| Hardware: | ix86 | ||||||
| OS: | Linux | ||||||
| URL: | http://evan.prodromou.san-francisco.ca.us/openssh-3.2.2p1.withpid.diff | ||||||
| Attachments: |
|
||||||
|
Description
Evan Prodromou
2002-05-21 05:01:53 AEST
Created attachment 99 [details]
Patch to write pid out to a file in daemon mode for ssh
I have the same problem. This patch would be tremendously helpful. I guess this enhancement was lost? 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@blah (ssh authenticated and then forks) Check the PID: ssh -S ~/.ssh/blah.ctl -O check user@blah Master running (pid=21068) Terminate backgrounded ssh: ssh -S ~/.ssh/blah.ctl -O exit user@blah Exit request sent. Change all RESOLVED bug to CLOSED with the exception of the ones fixed post-4.4. |