Skip to content

Commit

Permalink
Updated kex algo, ciphers, macs recording to BSI TR-02102-4
Browse files Browse the repository at this point in the history
  • Loading branch information
RMaxiMal authored Jan 10, 2024
1 parent f8c5296 commit 5bd0765
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@
- regexp: '^PermitRootLogin '
line: 'PermitRootLogin prohibit-password'
- regexp: '^KexAlgorithms '
line: 'KexAlgorithms curve25519-sha256@libssh.org,ecdh-sha2-nistp521,ecdh-sha2-nistp384,ecdh-sha2-nistp256,diffie-hellman-group-exchange-sha256'
line: 'KexAlgorithms diffie-hellman-group-exchange-sha256,diffie-hellman-group16-sha512, ecdh-sha2-nistp521,ecdh-sha2-nistp384,ecdh-sha2-nistp256'
- regexp: '^Ciphers '
line: 'Ciphers chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr'
line: 'Ciphers aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr'
- regexp: '^MACs '
line: 'MACs hmac-sha2-512-etm@openssh.com,hmac-sha2-256-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-512,hmac-sha2-256,umac-128@openssh.com'
line: 'MACs hmac-sha2-512,hmac-sha2-256'
notify: reload sshd

- name: disable globaly crypot config for sshd
Expand Down

0 comments on commit 5bd0765

Please sign in to comment.