We have received some recent reports that Hetzner Storage Box users are unable to create a SSH destination in JetBackup 5 with the below error:
Error: Registering Destination... Failed - Error: No error message returned from remote server (cmd: ssh -p 23 MyUser@MyUser.your-backup.de-o ControlPath="/usr/local/jetapps/etc/jetbackup5/.ssh/sockets/1234.sock" -x uname -a, output: Command not found. Use 'help' to get a list of available commands., exit code: 8)
JetBackup 5 fully supports Hetzner SSH destinations but performs different steps during creation in order to support Hetzner.
In this case, Hetzner started using a new hostname "your-backup.de" so it's not detected by JetBackup as a Hetzner SSH destination, so you will need to use the API.
Once #JB5-Base-1569 is resolved, you will be able to create Hetzner SSH destinations again via the GUI if you are assigned the "your-backup.de" hostname.
In the below example, replace the fields {HETZNER_USER}, and {HETZNER_PASSWORD} with the details related to your storage box user. (u123456@u123456.your-backup.de)
jetbackup5api -F manageDestination -D "action=createtype=SSH&disk_limit=95&options[path]=./jetbackup5-backups/&options[port]=23&options[timeout]=60&options[username]={HETZNER_USER}&options[host]={HETZNER_USER}.your-backup.de&options[password]={HETZNER_PASSSOWRD}&name=SSH&options[freebsd]=true&options[hetzner]=true"
If you still receive an error, please verify the following:
- The "Backups Directory" path you entered is RELATIVE to the Home Directory. (EX:
./jetbackup5-backups/
instead of/jetbackup5-backups
) - The Port is correct for SSH/Rsync: https://docs.hetzner.com/robot/storage-box/access/access-overview As of the time of this article, the correct port is 23.
- Your Storage box user or sub-user has permission to access the backup directory path.