Hetzner SSH Destination Failed to create - No error message returned from remote server / uname -a: command not found

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:

  1. The "Backups Directory" path you entered is RELATIVE to the Home Directory. (EX: ./jetbackup5-backups/ instead of /jetbackup5-backups)
  2. 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. 
  3. Your Storage box user or sub-user has permission to access the backup directory path. 
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Backblaze/S3 - Excessive Storage Use by JB5

We have received some reports of excessive Storage use by JetBackup 5 in the S3 Bucket. For...

My S3 Vendor is not included in the supported list on JetBackup 5?

You can find a small list of S3 Vendors that are supported with the new S3 Compatible plugin at...

S3 Common Issues / Failed to upload file

S3 destinations can often hit request limits when destinations are configured with high...

S3 Compatible - "Error: The key 'XXXX' is not valid (InvalidAccessKeyId)"

Here are some helpful tips to troubleshoot the error "Error: The key 'XXXX' is not valid...

Unable to Validate Destination - SSH

JetBackup uses public-key authentication to connect to and validate your SSH Destination. This...