basessh: Fix EL6 detection logic
Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
This commit is contained in:
parent
27a21881d4
commit
9b09d4d5d0
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@ Protocol 2
|
||||||
|
|
||||||
Port {{ sshd_port }}
|
Port {{ sshd_port }}
|
||||||
|
|
||||||
{% if ansible_distribution_version == 6 %}
|
{% if ansible_distribution_major_version == "6" %}
|
||||||
KexAlgorithms diffie-hellman-group-exchange-sha256
|
KexAlgorithms diffie-hellman-group-exchange-sha256
|
||||||
MACs hmac-sha2-512,hmac-sha2-256
|
MACs hmac-sha2-512,hmac-sha2-256
|
||||||
Ciphers aes256-ctr,aes192-ctr,aes128-ctr
|
Ciphers aes256-ctr,aes192-ctr,aes128-ctr
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue