Challenge
When trying to add a Linux server to the Veeam Backup & Replication console, you get the following error:
Failed to login to "xxx.xx.xx.x" by SSH, port 22, user "root" elevateToRoot False, autoSudo False User authentication failed
However, it is possible to log on to this server with the same credentials using an SSH client.
Cause
The configuration of your SSH server does not allow using tunnelled clear text passwords.
Solution
-
Open the SSHD config file (usually, /etc/ssh/sshd_config) on the Linux server.
-
Find the PasswordAuthentication parameter and set its value to “yes”.
-
Restart SSHD on the Linux server (usually, /etc/init.d/sshd restart).
-
Try adding the server to the console again.
More Information
Another solution is to use the Identity/Pubkey authentication method.https://helpcenter.veeam.com/docs/backup/vsphere/credentials_manager_linux_pubkey.html?ver=95