[tor-talk] Borg SSH could not resolve hostname

anan anan at disroot.org
Mon Feb 15 19:19:16 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

-----

PS. I sent this message to the tor-onions mailing list, but I only
received an automatic message saying my message was waiting for
moderator approval. That was one week ago. That's why I'm sending it
here now.


More information about the tor-talk mailing list