I don't know much about proxies in general, and especially not SOCKS5 proxies, so sorry if this is a newbie question but I haven't been able to find the answer online or in the man pages.
I have a SOCKS5 proxy set up through PuTTY with port 7777 configured as a dynamic port. I can use firefox/filezilla/etc by configuring them to use a SOCKS proxy with
localhost and port
7777. But I can't figure out how to ssh (through Cygwin) to a remote server by using the dynamic port. Is this possible?
I've tried using
ProxyCommand via the following method.
~/.ssh/configwith the following line:
ProxyCommand /usr/bin/nc -X connect -x 127.0.0.1:7777 %h %p
- Run ssh -p22 user@remotehost
The message I get is
ssh_exchange_identification: Connection closed by remote host