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-b...@mindrot.org Reporter: bnhe...@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. _______________________________________________ openssh-bugs mailing list openssh-bugs@mindrot.org https://lists.mindrot.org/mailman/listinfo/openssh-bugs