-
Notifications
You must be signed in to change notification settings - Fork 155
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Vorta gives a "Connection closed by remote host. Is borg working on the server?" due to faulty key in known_hosts file #2179
Comments
Seem to have come across the same issue, starting approx 10 days ago
After removing Then run |
I'm using Vorta 0.10.3 as flatpak on Ubuntu 24.04.1 LTS (Wayland) and I'm running into the same issue when trying to connect to an existing repo in Vorta. But unfortunately, the workaround described by @lumbric doesn't seem to work for me.
The last step fails with this error in Vorta log:
If I run the command from the Vorta log in the terminal, it seems to succeed though:
Any further ideas how troubleshoot / fix this? EDIT: It seems the reason why it didn't work for me was indicated by this line in the Vorta log:
After setting the permissions with |
I would still consider it a bug that it errors out because of an earlier warning and with a completely unrelated message. |
Description
When attempting to start a backup or retrieve the backup list via Vorta, the following error appears:
ERROR - Connection closed by remote host. Is borg working on the server?
However, we successfully connected to the server manually using both an SSH client and Borg (to list backups).
The issue seems specific to Vorta caused by a faulty entry in the known_hosts file: removing the known_hosts file fixes the issue (see below) even if ssh and borg on the command line can connect to the server with the known_hosts file.
Is Vorta somehow connecting to the server in a different way than borg? Isn't it simply a front end to borg?
This seems distinct from borgbackup/borg#636 as it fails immediately after initializing the connection and during the backup. However, this might be related to #1997 and #1104. I don't really understand how ssh-askpass is related to this issue.
Solution: remove known_hosts file
We were able to solve the issue, by doing the following:
Environment
Logs
The text was updated successfully, but these errors were encountered: