[tor-onions] Borg SSH could not resolve hosname

anan anan at disroot.org
Mon Feb 8 00:49:38 UTC 2021


Hello!

I'm trying to run BorgBackup through Tor for some small backups.
Borg uses SSH for remote backups.

I installed Tor on my local and remote computers.
I configured an onion SSH service in the remote one, where my Borg
server is.
I can SSH the remote computer through Tor without a problem.

To run Borg, in my local script I have

BORG_REPO=ssh://iamusininthismessagethisfakeversion3onionaddressinsteadofmyrealone.onion:2222/path/to/repo

and have "torsocks" before the "borg create" command.

That does the job, the backups are done,
however I am getting some name resolution error (please see below).

Do you have any advice?

Thank you!

------

ERROR torsocks[]: Unable to resolve. Status reply: 4 (in
socks5_recv_resolve_reply() at socks5.c:677)

Remote: ssh: Could not resolve hostname
iamusininthismessagethisfakeversion3onionaddressinsteadofmyrealone.onion:
Name or service not known
Connection closed by remote host. Is borg working on the server?
terminating with error status, rc 2


More information about the tor-onions mailing list