这是indexloc提供的服务,不要输入任何密码
Skip to content

Ssh2 library not supporting Kex ecdh-sha2-nistp384  #332

@Manikanth952

Description

@Manikanth952

With SSH2, Kex ecdh-sha2-nistp384 is not being supported.

SSH handshake failed: Error { code: Session(-5), msg: "Unable to exchange encryption keys" }

sess.method_pref(ssh2::MethodType::Kex, "ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521") -> Error: Error { code: Session(-33), msg: "The requested
method(s) are not currently supported" }

We tried enabling this key algorithm using macro to enable libssh2_ecdsa. Still its not working.
This Kex support is highly needed from SSH2 crate. If this is a bug, please provide and update with fix.
If its intentionally not supported, it would be great if you can provide the support.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions