Skip to content
This repository was archived by the owner on Dec 26, 2020. It is now read-only.

Commit 8d75ee7

Browse files
author
Sebastian Gumprich
committed
add ssh7.6 support
1 parent d232871 commit 8d75ee7

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

defaults/main.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,13 @@ ssh_macs_66_default:
148148
- hmac-sha2-256
149149
- hmac-ripemd160
150150

151+
ssh_macs_76_default:
152+
- hmac-sha2-512-etm@openssh.com
153+
- hmac-sha2-256-etm@openssh.com
154+
- umac-128-etm@openssh.com
155+
- hmac-sha2-512
156+
- hmac-sha2-256
157+
151158
ssh_macs_66_weak: "{{ ssh_macs_66_default + ['hmac-sha1'] }}"
152159

153160
ssh_ciphers_53_default:

tasks/crypto.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@
1717

1818
###
1919

20+
- name: set weak macs according to openssh-version if openssh >= 7.6
21+
set_fact:
22+
ssh_macs: "{{ssh_macs_76_default}}"
23+
when: sshd_version.stdout >= '7.6' and not ssh_macs
24+
2025
- name: set weak macs according to openssh-version if openssh >= 6.6
2126
set_fact:
2227
ssh_macs: "{{ssh_macs_66_weak}}"

0 commit comments

Comments
 (0)