Help Center > > FAQs> Login and Connection> Remote Login Errors on Linux> What Should I Do If Error Message "Disconnected: No supported authentication methods available" Is Displayed When I Remotely Log In to a Linux ECS?

What Should I Do If Error Message "Disconnected: No supported authentication methods available" Is Displayed When I Remotely Log In to a Linux ECS?

Updated at: Jan 26, 2021 GMT+08:00

Symptom

When I attempted to remotely log in to a Linux ECS, the system displayed error message "Disconnected: No supported authentication methods available".

Figure 1 No supported authentication methods available

Possible Causes

A policy that denies password-authenticated logins is enabled on the SSH server.

Solution

  1. Open the /etc/ssh/sshd_config file and check the following settings:

    vi /etc/ssh/sshd_config

  1. Modify the following settings:

    Change PasswordAuthentication no to PasswordAuthentication yes.

    Alternatively, delete the comment tag (#) before PasswordAuthentication yes.

  2. Restart SSH.
    • CentOS 6

      service sshd restart

    • CentOS 7

      systemctl restart sshd

Did you find this page helpful?

Submit successfully!

Thank you for your feedback. Your feedback helps make our documentation better.

Failed to submit the feedback. Please try again later.

Which of the following issues have you encountered?







Please complete at least one feedback item.

Content most length 200 character

Content is empty.

OK Cancel