Skip to content
Snippets Groups Projects
Commit 4b693b08 authored by Jörg Sachse's avatar Jörg Sachse
Browse files

fix: use correct syntax for sshd_config

parent 75556bf3
No related branches found
No related tags found
No related merge requests found
Pipeline #5622 failed
...@@ -56,9 +56,9 @@ ...@@ -56,9 +56,9 @@
KexAlgorithms diffie-hellman-group14-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group-exchange-sha256,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,curve25519-sha256,curve25519-sha256@libssh.org KexAlgorithms diffie-hellman-group14-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group-exchange-sha256,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,curve25519-sha256,curve25519-sha256@libssh.org
# disable weak Ciphers (crypto algorithms) # disable weak Ciphers (crypto algorithms)
# NVT OID: 1.3.6.1.4.1.25623.1.0.105611 # NVT OID: 1.3.6.1.4.1.25623.1.0.105611
# Also explicitely disable ChaCha ciphers for "Terrapin" (CVE-2023-48795) # Also explicitely omit ChaCha ciphers for "Terrapin" (CVE-2023-48795)
Ciphers aes256-ctr,aes192-ctr,aes128-ctr,aes256-gcm@openssh.com,aes128-gcm@openssh.com,-chacha20-poly1305@openssh.com Ciphers aes256-ctr,aes192-ctr,aes128-ctr,aes256-gcm@openssh.com,aes128-gcm@openssh.com
# Explicitely disable -ETM MACs for "Terrapin" (CVE-2023-48795) # Explicitely omit -ETM MACs for "Terrapin" (CVE-2023-48795)
MACs hmac-sha2-512,hmac-sha2-256,-*etm@openssh.com MACs hmac-sha2-512,hmac-sha2-256
notify: notify:
- restart sshd - restart sshd
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment