SSH over Tor the really, really easy way
1) If you’re on Windows, download this and skip to Step 3. Mac, Linux, and Unix users download the source code for connect.c
2) Compile it. On most systems, the command would be: gcc connect.c -o connect
3) Add this to your ssh command: -o ProxyCommand=”connect -S localhost:9050 %h %p”
For example, I could use this command to connect to Silence is Defeat over Tor:
ssh -o ProxyCommand=”connect -S localhost:9050 %h %p” silenceisdefeat.com
And that’s it… Pretty easy. More info can be found here.



Thursday, August 19th 2010 at 6:52 pm
This is an extremely bad idea. If someone’s sniffing your network traffic (we presume they are, else why would you bother using Tor), they’ll notice your DNS request to resolve silenceisdefeat.com immediately before your Tor connection, and know where you’re connecting to.
You should use “tor-resolve” to resolve the domain to an IP, and then pass the IP to ssh.