#1 Global Leader in Data Resilience

SSH Connection Failure to Linux Machine Requiring Multiple Sequential AuthenticationMethods

KB ID: 4479
Product: Veeam Backup & Replication
Published: 2023-08-03
Last Modified: 2023-08-03
mailbox
Get weekly article updates
By subscribing, you are agreeing to have your personal information managed in accordance with the terms of Veeam's Privacy Notice.

Cheers for trusting us with the spot in your mailbox!

Now you’re less likely to miss what’s been brewing in our knowledge base with this weekly digest

error icon

Oops! Something went wrong.

Please, try again later.

Challenge

Connections to a Linux machine fail with the following errors:

Authentication was partially successful, but server
requires additional authentication with: 'password'.
No suitable authentication method is supported.
Supported methods: 'password'.
Addtional Methods
Suitable

Some tasks may not display these errors and instead behave as if the SSH connection failed. The error, however, is still written in the logs:

Warning      Failed to establish SSH connection.
Warning      No suitable authentication method found to complete authentication (password). (Renci.SshNet.Common.SshAuthenticationException)

Cause

This error occurs when the remote Linux machine's SSH service /etc/ssh/sshd_config has been configured to require two or more authentication methods in sequence.

For example, "AuthenticationMethods publickey,password" would require that all connections must provide first the publickey and then enter the account password.

Veeam Backup & Replication supports SSH authentication using username and password or publickey, but it does not support the use of both in sequence.

 

Solution

Update the AuthenticationMethods setting within /etc/ssh/sshd_config so that it does not require more than one authentication method.
To submit feedback regarding this article, please click this link: Send Article Feedback
To report a typo on this page, highlight the typo with your mouse and press CTRL + Enter.

Spelling error in text

This site is protected by hCaptcha and its Privacy Policy and Terms of Service apply except as noted in our Privacy Policy.
Thank you!

Thank you!

Your feedback has been received and will be reviewed.

Oops! Something went wrong.

Please, try again later.

You have selected too large block!

Please try select less.

KB Feedback/Suggestion

This form is only for KB Feedback/Suggestions, if you need help with the software open a support case

By submitting, you are agreeing to have your personal information managed in accordance with the terms of Veeam's Privacy Notice.
This site is protected by hCaptcha and its Privacy Policy and Terms of Service apply except as noted in our Privacy Policy.
Verify your email to continue your product download
We've sent a verification code to:
  • Incorrect verification code. Please try again.
An email with a verification code was just sent to
Didn't receive the code? Click to resend in sec
Didn't receive the code? Click to resend
Thank you!

Thank you!

Your feedback has been received and will be reviewed.

error icon

Oops! Something went wrong.

Please, try again later.