Feature proposal: ProxyUseFdpass-like behavior for a regular ssh session
Damien Miller
djm at mindrot.org
Thu May 27 14:30:17 AEST 2021
On Thu, 27 May 2021, Damien Miller wrote:
> This is basically how the multiplexing protocol works right now.
> Take a look at mux.c:mux_client_request_session() - it passes the
> stdin, stdout and stderr fds to the primary multiplexing process.
>
> From what you describe, you couple probably use this facility with
> a custom client that spoke the simple (but undocumented) multiplexing
> protocol to do what you need.
See also the mux proxy mode that Markus added (cf portable commit 8d0578)
Which allows a client to talk to the ssh channels code pretty much
directly - it allows clients for arbitrary extension protocols to be
written without modifying OpenSSH
-d
More information about the openssh-unix-dev
mailing list