如何在 Tor 中使用 SSH?

arg*_*per 8 ssh tor

如何在 Ubuntu 11.10 中通过 Tor 使用 SSH 客户端?我已经运行了 Tor(并成功匿名了 HTTP 流量)。

小智 10

通过Tor运行,您可以使用torify命令。例如:

torify ssh user@remotehost
torify curl curlmyip.com
Run Code Online (Sandbox Code Playgroud)


hto*_*oip 8

来自 http://www.howtoforge.com/anonymous-ssh-sessions-with-tor

将以下块添加到您的顶部 ~/.ssh/config file.

Host *
CheckHostIP no
Compression yes
Protocol 2
ProxyCommand connect -4 -S localhost:9050 $(tor-resolve %h localhost:9050) %p
Run Code Online (Sandbox Code Playgroud)