Files
doc-exports/docs/ecs/umn/en-us_topic_0277132844.html
Hasko, Vladimir d8a2842a27 Re-implementing ecs umn 20240823 with HSS content
Reviewed-by: otcbot <otcbot@t-systems.com>
Co-authored-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-committed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
2024-09-17 15:21:19 +00:00

3.3 KiB

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

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

  2. Modify the following settings:

    Change PasswordAuthentication no to PasswordAuthentication yes.

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

  3. Restart SSH.
    • CentOS 6

      service sshd restart

    • CentOS 7

      systemctl restart sshd

<script language="JavaScript"> </script>