|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.
657 total views, 3 views today