Skip to content

The connection was closed by the server: FlowSshTransport: no mutually supported host key algorithm. #1635

Open
@ibrahimsen

Description

@ibrahimsen

After upgrading SSH.NET to the latest version (2025.0.0), I am encountering the following error when attempting to connect. How can I resolve this issue?

The connection was closed by the server: FlowSshTransport: no mutually supported host key algorithm. Local list: DSA. Remote list: ssh-ed25519-cert-v01@openssh.com,ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,rsa-sha2-512-cert-v01@openssh.com,rsa-sha2-256-cert-v01@openssh.com,ssh-rsa-cert-v01@openssh.com,ssh-dss-cert-v01@openssh.com,Ed25519,ECDSA/nistp256,ECDSA/nistp384,ECDSA/nistp521,RSA/sha2-512,RSA/sha2-256,RSA/sha1. (KeyExchangeFailed).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions