Home ›
ProxyCommand errorProxyCommand error
Submitted by Benjamin Melançon on September 27, 2009 - 3:41am
This week's lesson in internet connectivity is a variation of the classic debugging best practice blame yourself first.
Attempting to ssh into server dev.example.org set up in .ssh/config as "example" with
ssh example</a> resulted in:
<output>
/usr/bin/netcat: No such file or directory
ssh_exchange_identification: Connection closed by remote host
</output>
This error was not caused by the far-off server i was trying to reach, but by our intermediary server being used to do the proxy.
There was indeed no /usr/bin/netcat directory. whereis netcat came up with /bin/netcat
Using that instead worked.
<code>
host example
ProxyCommand ssh me@server2.agaric.com /bin/netcat dev.example.org 22
User somebody