我想使用以下命令从rr(.onion站点)中使用rsync和tosocks下载一些文件(我在Linux上):
torsocks rsync rsync://root@snatchvwddns6zto.onion/targets/perceptics.com/
并返回错误:
1560930992 PERROR torsocks[13894]: socks5 libc connect: Connection refused (in socks5_connect() at socks5.c:202)
rsync: failed to connect to snatchvwddns6zto.onion (127.42.42.0): Connection refused (111)
rsync error: error in socket IO (code 10) at clientserver.c(127) [Receiver=3.1.3]
洋葱站点snatchvwddns6zto.onion/targets/perceptics.com/
可以正常运行
已经将torsocks.conf文件的端口更改为与tor已经打开的端口相同(9051),但仍然无法正常工作。 即使在尝试进行身份验证时:
echo -e 'AUTHENTICATE "passwordhere"\r\nsignal NEWNYM\r\nQUIT' | nc 127.0.0.1 9051
它返回:
(UNKNOWN) [127.0.0.1] 9051 (?) : Connection refused
torsocks.conf:
TorAddress 127.0.0.1
TorPort 9150
有人知道如何解决错误吗?
答案 0 :(得分:1)
您还可以公开SSH端口而不是rsync端口,并执行以下操作:
torify rsync -e "ssh -p 9051" root@snatchvwddns6zto.onion:targets/perceptics.com/ ./