[Bug 3801] New: Expand TOKENS available in ProxyCommand to support port forwarding

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Wed Mar 12 11:44:44 AEDT 2025


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

            Bug ID: 3801
           Summary: Expand TOKENS available in ProxyCommand to support
                    port forwarding
           Product: Portable OpenSSH
           Version: 9.9p2
          Hardware: Other
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: ssh
          Assignee: unassigned-bugs at mindrot.org
          Reporter: bnheise at gmail.com

I would additional tokens to be available in ProxyCommand such that my
ProxyCommand script can identify whether or not port forwarding was
requested in the original command or not. Currently ProxyCommand has no
awareness of what the original command was, so it cannot handle both
cases where the user invoked a normal ssh session or requested port
forwarding.

The additional tokens would ideally include the command (-L, -R, etc),
as well as the local port or socket, the bind address if present, and
any other parameters which may be provided when invoking a
port-forwarding session.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list