Skip to content

Fix Hetzner SSH config and borg path#45

Open
noplanman wants to merge 1 commit intofiaasco:masterfrom
noplanman:fix-hetzner-ssh
Open

Fix Hetzner SSH config and borg path#45
noplanman wants to merge 1 commit intofiaasco:masterfrom
noplanman:fix-hetzner-ssh

Conversation

@noplanman
Copy link
Contributor

For quite some time now Hetzner Storage Box backups had stopped working with the existing SSH config.

The output when performing the backup would simply be:

Got unexpected RPC data format from server:
Command not found. Use 'help' to get a list of available commands.

This is because they seem to have tightened up the allowed commands on the backend, so the cd command fails.
As far as I can tell, it isn't necessary to change directory first, as the --restrict-to-path should take care of this.

Also, the executable path no longer works with an absolute path, and the executable name has changed format too...

With all that in mind, using "borg-1.2" works for both Hetzner and rsync, so this works perfectly for me and my backups all work with this new config in place.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant