Config: Add support for ECDSA host keys
This commit is contained in:
parent
ce46343562
commit
73eaef4ea0
@ -13,7 +13,7 @@ sshd_config:
|
|||||||
- watch_in:
|
- watch_in:
|
||||||
- service: openssh
|
- service: openssh
|
||||||
|
|
||||||
{% for keyType in ['dsa', 'rsa'] %}
|
{% for keyType in ['ecdsa', 'dsa', 'rsa'] %}
|
||||||
{% if salt['pillar.get']('openssh:provide_' ~ keyType ~ '_keys', False) %}
|
{% if salt['pillar.get']('openssh:provide_' ~ keyType ~ '_keys', False) %}
|
||||||
ssh_host_{{ keyType }}_key:
|
ssh_host_{{ keyType }}_key:
|
||||||
file.managed:
|
file.managed:
|
||||||
|
Loading…
Reference in New Issue
Block a user