- https://en.wikibooks.org/wiki/OpenSSH/Cookbook/Proxies_and_Jump_Hosts#Tunneling_SSH_Over_Tor_with_Netcat – this is THE ARTICLE — replace “Tor” in the example with your corporate SOCKS proxy
- http://superuser.com/questions/454210/how-can-i-use-ssh-with-a-socks-5-proxy
- http://linux.die.net/man/1/nc — a netcat manual page
My $HOME/.ssh/config
looks like this:
# making use of "netcat" AKA "nc" -- http://linux.die.net/man/1/nc # Host SOME_HOST_OUT_THERE User REMOTE_USER ProxyCommand /usr/bin/nc -X 5 -x SOCKS_PROXY_HOST:SOCKS_PROXY_PORT %h %p
“As always” I connect to SOME_HOST_OUT_THERE like this:
$ ssh REMOTE_USER@SOME_HOST_OUT_THERE # respectively $ ssh SOME_HOST_OUT_THERE
You can also “rsync over ssh” under these conditions – works like a charm.
And: This also works in a Cygwin environment.
PuTTY can use a SOCKS proxy just as well for connecting to a target “out there”:
- https://en.wikipedia.org/wiki/PuTTY
- http://the.earth.li/~sgtatham/putty/0.66/htmldoc/Chapter4.html#config-proxy
- http://tartarus.org/~simon/putty-snapshots/htmldoc/Chapter4.html#config-proxy
53.877694610.6678552