From 35d2248405e1977810dc2b01e13455098f1fab3e Mon Sep 17 00:00:00 2001 From: Jakub Czajka Date: Sun, 25 Sep 2022 19:38:27 +0200 Subject: [PATCH] [sshd] Require SSH protocol 2. SSH protocol 1 is an older version with known vulnerabilities. This commit requires `sshd` to use only the newer SSH protocol 2. --- sshd/sshd_config | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sshd/sshd_config b/sshd/sshd_config index 4b5f40c..15c76ec 100644 --- a/sshd/sshd_config +++ b/sshd/sshd_config @@ -21,6 +21,8 @@ Port 72 #HostKey /etc/ssh/ssh_host_ecdsa_key #HostKey /etc/ssh/ssh_host_ed25519_key +Protocol 2 + # Ciphers and keying #RekeyLimit default none -- 2.39.5