I’ve started maintaining Torsocks , a utility which allows you to use most socks-friendly applications in a safe way with Tor. It ensures that DNS requests are handled safely and explicitly rejects UDP traffic from the application you’re using.
Torsocks is commonly used with command-line utilities such as telnet, ssh and irssi. However it’s also suitable for ‘torifying’ popular GUI aplications such as pidgeon.
Torsocks is hosted in the Tor project’s source code repository and is the default socks client supported by Tor. It runs on Linux, BSD and Mac OSX.
Once you have installed torsocks, just launch it like so:
So, for example you can use ssh to connect to some.ssh.com by doing:
usewithtor ssh firstname.lastname@example.org