see [1] for details i will only describe one method (1) kwik_and_dirty (debian):
- compile the connect - command, you will find the connect_soure-code under [2]
- install it to /usr/local/bin
add following line to your /etc/ssh/ssh_config:
ProxyCommand /usr/local/bin/connect -4 -S 127.0.0.1:9050 %h %p
also see: Debian/TOR_install_kwik_n_dirty