[Bug 3271] Interface to send commands to the server side ssh

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Tue Mar 9 08:43:30 AEDT 2021


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

--- Comment #8 from Darren Tucker <dtucker at dtucker.net> ---
(In reply to Marcos Dione from comment #7)
> 13:50 $ ssh -v -oControlMaster=yes -R/tmp/sock:/tmp/sock uk-janderson
> OpenSSH_8.3p1 Ubuntu-1, OpenSSL 1.1.1f  31 Mar 2020
> [...]
> debug1: Remote connections from /tmp/sock:-2 forwarded to local
> address /tmp/sock:-2
> [...]
> debug1: remote forward success for: listen /tmp/sock:-2, connect
> /tmp/sock:-2
> 
> 
> mdione at uk-janderson:~$ ssh -oControlPath=/tmp/sock -O forward -L
> 1234:127.0.0.1:22 localhost
> debug1: client_input_channel_open: ctype
> forwarded-streamlocal at openssh.com rchan 2 win 2097152 max 32768
> debug1: client_request_forwarded_streamlocal: request: /tmp/sock
> debug1: connect_next: host /tmp/sock ([unix]:/tmp/sock): No such
> file or directory
> connect to /tmp/sock port -2 failed: No such file or directory
> debug1: failure forwarded-streamlocal at openssh.com
> muxclient: master hello exchange failed
> 
> So I guess my cliente/server mix do not interoperate?

No, that looks like listening socket on the server is either gone or
the forward was not established.  If the problem is the mux version
it'll give an error along the lines of "Unsupported multiplexing
protocol version"

> Where can i read about the mux protocol changes?

https://github.com/openssh/openssh-portable/blob/master/clientloop.h,
any commit that changes SSHMUX_VER.

A shell one-liner tells me version 1 shipped in V_4_2_P1 through
V_5_0_P1, version 2 shipped in V_5_1_P1 through V_5_3_P1 and version 4
shipped in V_5_4_P1 and up.  It looks like version 3 was never in a
release.

> I can't find anything on
> Debian's changelog or News files, and there doesn't seems to be a
> changelog on your side?

Well like I said it's intended to be internal to ssh, not used in this
way.

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


More information about the openssh-bugs mailing list