From 5ba1304eb5f3ba8ffe5764356d988ca957d8f235 Mon Sep 17 00:00:00 2001 From: Matt Johnston <matt@ucc.asn.au> Date: Fri, 7 Apr 2023 21:41:16 +0800 Subject: [PATCH] Send kexguess2 kex option by default --- src/kex.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/kex.rs b/src/kex.rs index 7ee639b..c4a4565 100644 --- a/src/kex.rs +++ b/src/kex.rs @@ -32,7 +32,7 @@ use pretty_hex::PrettyHex; // TODO this will be configurable. const fixed_options_kex: &[&'static str] = - &[SSH_NAME_CURVE25519, SSH_NAME_CURVE25519_LIBSSH]; + &[SSH_NAME_CURVE25519, SSH_NAME_CURVE25519_LIBSSH, SSH_NAME_KEXGUESS2]; /// Options that can't be negotiated const marker_only_kexs: &[&'static str] = -- GitLab