-
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
Persistent "Connection closed by remote host. Is borg working on the server?" when trying to add new or existing database; local repos work fine. Client public SSH Key selection problem? #2181
Comments
Sorry for this bad experience you are having and that support wasn't able to help in this case. As you see in the logs, Vorta will simply run the Borg commands listed. And if normal Have you already tried running the
|
Thanks for your reply. Below is the log with the redacted reponame, and including the command after Trying to add the repo in Vorta after this exercise, still didn't work (same GUI output; I didn't get that log though).
EDIT: Sorry, reread your entry later on, and discovered I hadn't added the
|
Good news then. SSH and Borg are both working. Your second command fails, since the repo is already initialized. Maybe you have the same issue with Vorta? Trying to add a repo as "new" that's already initialized? (had run |
Thank you for your continued interest in resolving this issue. Unfortunately, this is the output of invoking vorta from the command line (See This same passphrase still works manually via ssh* in the CLI, so it's not the password that's wrong. I just don't see in this log, what is wrong. *Note: I didn't just call the keys "id_ed25519" and "id_ed25519.pub," because I have other uses for SSH on my system. So I did follow Support's suggestion of entering
|
This issue remains unresolved, and I may have to back off of using BorgBase, as I'm currently also having trouble setting up a new backup via GNOME/Pika Backup (giving the same error messages that KDE Plasma/Vorta is having); I've been through all the BorgBase Setup steps & documentation; it's just not working for me. |
Vorta will work with any SSH-based storage. It doesn't need to be borgbase. If you have your own SSH server, you can use that for testing too. Above I meant to use the
|
I had the same problem: Connecting to a server does not work with a new SSH key. Description of problemWhen adding a new repo to a profile, I can select the correct ssh key: But after the repo is created, the key does not show up any more: A brief glance into the setting confirms that the ssh key is not stored: WorkaroundSetting the ssh key manually works for me: In "Extra Borg Arguments", set |
I have same problem, cannot figure it out. |
Unfortunately this error message can mean a lot of things. This troubleshooting guide for borgbase.com users may help, but might need slight adjustment with other remotes: https://docs.borgbase.com/faq/#all-connections-to-a-borgbase-repo-fail-with-an-error-immediately |
This log message points to a key mismatch. (item 1 in the FAQ) |
Do I understand the FAQ correctly, that it is not possible in Vorta to select a specific key? Then I misunderstood the GUI. I normally have an SSH key that requires a password, but for the backup on our company server, I generated a passwordless ssh key, which has access to a very restricted account only. So also on the commandline I have to specify the key explicitly, either with I was under the impression that the GUI lets one choose a specific SSH key to handle this use case. |
Where does it say that? The FAQ isn't Vorta specific. It's to debug SSH in general. Vorta also uses SSH and does list and allow to select a specific key. |
That's what I showed here, that it does not seem to store the key settings. And it may also be what the OP reported: they named their key |
Description
I was able to reproduce the issue.
ssh-keygen
cat .ssh/newkey_id_ed25519
(The following three steps were suggested as a workaround by BorgBase support, and while it does get the passphrase to auto-populate in Vorta, it does not get Vorta to successfully connect).
ssh -v [email protected]
, I reasoned that maybe the repo was initiated? This was backed up by the repo having a very small amount of "Usage" (under 10kb) listed on the BorgBase website. So I tried "Add an Existing Repository" in Vorta, too. Same result.I have read the checklist inlcuded in the thread of issue #1104 (along with a whole lot of other documentation & FAQs covering borg, Vorta & BorgBase), and having followed all those directions and the advice of BorgBase support, I have not found an answer yet. So I followed BorgBase support's most recent suggestion & posted it here, as the developer is active between Vorta & BorgBase.
Local backups via Vorta work. And remote backups to BorgBase work via GNOME/pika-backup on different hardware (same base OS), it just isn't working via KDE Plasma (or on yet a different machine, XFCE/kwallet/Vorta).
Environment
Logs
The text was updated successfully, but these errors were encountered: