honzasp / makiko

Asynchronous SSH client library in pure Rust
https://honzasp.github.io/makiko/
The Unlicense
38 stars 3 forks source link

AlgoNegotiateError #1

Closed h4cnull closed 1 year ago

h4cnull commented 1 year ago

client_fut rst Err(AlgoNegotiate(AlgoNegotiateError { algo_name: "key exchange", our_algos: ["curve25519-sha256", "curve25519-sha256@libssh.org"], their_algos: ["diffie-hellman-group14-sha1", "ecdh-sha2-nistp256", "ecdh-sha2-nistp384", "ecdh-sha2-nistp521"] })), does'nt support "diffie-hellman-group14-sha1" yet?

h4cnull commented 1 year ago

my fault,i should use ClientConfig::default_compatible_less_secure().