[Bug 3837] Feature Request: A new TOKEN expanding to PID

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Mon Jun 16 19:15:55 AEST 2025


https://bugzilla.mindrot.org/show_bug.cgi?id=3837

Damien Miller <djm at mindrot.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |djm at mindrot.org

--- Comment #1 from Damien Miller <djm at mindrot.org> ---
Adding a PID token isn't very useful, because it will be different for
each ssh ControlMaster and so multiplexing client's won't be able to
connect to it unless the ControlPath is explicitly specified.

> there's currently no clean or reliable way to identify the PID of this process via the socket name

Sure there is:

$ ssh -F none -oControlPath=~/.ssh/ctl-djm at sv32:22 -O check blah
Master running (pid=29435)

-- 
You are receiving this mail because:
You are watching someone on the CC list of the bug.
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list