I have no real idea what I'm doing here so please bear that in mind if you can help me!
I am trying to connect to my virtual server through a proxy but I can't connect, it just hangs. I'm assuming this is because it's not getting through our proxy.
I have tried exactly the same thing at home and it works perfectly. I'm on OSX running using Terminal to connect.
Can anyone advise me how I can get through the proxy with SSH?
I use
-o "ProxyCommand=nc -X 5 -x proxyhost:proxyport %h %p"
ssh option to connect through socks5 proxy on OSX.remove
-X connect
and use-proxy
instead.Worked for me.