Skip to content

SSH: All configured authentication methods failed. #737

@cweijan

Description

@cweijan

Update: This issue has been resolved in version 6.6.0, please update the extension.


This error may occur when you connect using a key.

openssh no longer supports the ssh-rsa algorithm after openssh version 8.8, and you use the ssh-rsa key, so the server refuses the connection, there are two ways to solve this problem.

  • Execute the following commands on the server to support the ssh-rsa algorithm.
    sed -i '1i PubkeyAcceptedKeyTypes=+ssh-rsa\nPubkeyAcceptedAlgorithms +ssh-rsa' /etc/ssh/sshd_config && service ssh restart

  • Generate ed25519 key pair, and connect using the new key pair.
    ssh-keygen -t ed25519

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions