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 _______________________________________________ openssh-unix-dev mailing list openssh-unix-dev@xxxxxxxxxxx https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev