From: Jakub Czajka Date: Sun, 25 Sep 2022 17:38:27 +0000 (+0200) Subject: [sshd] Require SSH protocol 2. X-Git-Url: https://git.ekhem.eu.org/?a=commitdiff_plain;h=35d2248405e1977810dc2b01e13455098f1fab3e;p=server.git [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. --- 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