Displaying 1 result from an estimated 1 matches for "commandlik".
Did you mean:
commandli
2017 Nov 03
2
ControlPath versus ProxyCommand
...e .ssh/config file.
I also have a shell script whose purpose is to hop to a remote host through a
port forward, which uses the ProxyCommand option like this:
ProxyCommand ssh MAIN nc 127.0.0.1 7777
because the remote host is accessible via port 7777 on host MAIN.
So the script invokes an ssh commandlike this:
ssh -o "ProxyCommand=ssh MAIN nc 127.0.0.1 7777" remoteuser at MAIN
The expectation is that the inner proxycommand ssh goes via the control socket
and that the outer ssh uses the ProxyCommand to get to the remote host.
Imagine my surprise when the ControlMaster from the confi...