mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2025-12-14 08:53:07 -06:00
Merged in DCD-1378-trim-ssh-ciphers (pull request #155)
DCD-1378: Add ciphers line to sshd config. Approved-by: Adam Brokes Approved-by: Nasser Ghazali-Beiklar
This commit is contained in:
@@ -7,3 +7,13 @@
|
|||||||
- libxml2
|
- libxml2
|
||||||
- git-{{ git_version }}
|
- git-{{ git_version }}
|
||||||
- dejavu-sans-fonts
|
- dejavu-sans-fonts
|
||||||
|
|
||||||
|
- name: Limit the SSH ciphers
|
||||||
|
lineinfile:
|
||||||
|
path: "/etc/ssh/sshd_config"
|
||||||
|
# Drop insecure ciphers, currently 3des-cbc only. You can get the
|
||||||
|
# full list with `sshd -T | grep -i ciphers`
|
||||||
|
regexp: '^[Cc]iphers'
|
||||||
|
line: "Ciphers chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com,aes128-cbc,aes192-cbc,aes256-cbc,blowfish-cbc,cast128-cbc"
|
||||||
|
insertbefore: "BOF"
|
||||||
|
ignore_errors: yes # No sshd == no problem
|
||||||
|
|||||||
Reference in New Issue
Block a user