User authentication failed

KB ID: 1512
Product: Veeam Backup & Replication
Version: 5.x, 6.x, 7.x, 8.x, 9.x
Published:
Last Modified: 2018-06-08

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

  1. Open the SSHD config file (usually, /etc/ssh/sshd_config) on the Linux server.

  2. Find the PasswordAuthentication parameter and set its value to “yes”.

  3. Restart SSHD on the Linux server (usually, /etc/init.d/sshd restart).

  4. 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

Please be aware that we’re making changes which will restrict access to product updates for users without an active contract.

OK

Rate the quality of this KB article: 
3.7 out of 5 based on 51 ratings

Couldn't find what you were looking for?

Below you can submit an idea for a new knowledge base article.

Request new content