A user may wish to use SSH with Tor for any number of reasons. To do this, download and install connect.c (above) and then add this line to your SSH configuration:
Terminal |
localhost:~ $ nano ~/.ssh/config
Compression yes # this compresses the SSH traffic to make it less slow over tor ProxyCommand connect -5 -R remote -S localhost:9050 %h %p |
After this has been added to the SSH configuration, a user can simply ssh myserver to be routed through Tor to the hidden service (or clearnet server). This can also be done with proxychains, but the ProxyCommand directive is a permament solution.
1,022 total views