Short but useful!


Need to connect to an ssh server through a socks4/5 proxy? (for example, to connect to a tor hidden server?)

Simple, with this short bash snippet:

ssh -o ProxyCommand=’nc -x 127.0.0.1:9150 %h %p’ user@host