Skip to content

Commit 71c7347

Browse files
authored
Apply defaults for SSH 9.9+
Apply defaults for SSH 9.9
1 parent 8f7f3f0 commit 71c7347

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

roles/ssh_hardening/tasks/crypto_kex.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,8 @@
1818
ansible.builtin.set_fact:
1919
ssh_kex: "{{ ssh_kex_85_default }}"
2020
when: sshd_version is version('8.5', '>=')
21+
22+
- name: Set kex according to openssh-version if openssh >= 9.9
23+
ansible.builtin.set_fact:
24+
ssh_kex: "{{ ssh_kex_99_default }}"
25+
when: sshd_version is version('9.9', '>=')

0 commit comments

Comments
 (0)