if include does not supported, it is an older sshd-version. unsupported ciphers/kex/macs could be set, so leave defaults.
This commit is contained in:
parent
9546f3e3d3
commit
8bccab571e
|
@ -45,9 +45,9 @@
|
|||
KerberosAuthentication: '{{sshd_kerberos_authentication}}'
|
||||
GSSAPIAuthentication: '{{sshd_gssapi_authentication}}'
|
||||
TCPKeepAlive: 'yes'
|
||||
Ciphers: '{{sshd_ciphers}}'
|
||||
MACs: '{{sshd_macs}}'
|
||||
KexAlgorithms: '{{sshd_kex_algorithms}}'
|
||||
#Ciphers: '{{sshd_ciphers}}'
|
||||
#MACs: '{{sshd_macs}}'
|
||||
#KexAlgorithms: '{{sshd_kex_algorithms}}'
|
||||
- name: sshd_config
|
||||
lineinfile:
|
||||
path: /etc/ssh/sshd_config
|
||||
|
|
Loading…
Reference in a new issue