Config: Add support for ECDSA host keys

This commit is contained in:
Alan Pearce 2014-08-24 11:51:06 +01:00
parent ce46343562
commit 73eaef4ea0

View File

@ -13,7 +13,7 @@ sshd_config:
- watch_in:
- service: openssh
{% for keyType in ['dsa', 'rsa'] %}
{% for keyType in ['ecdsa', 'dsa', 'rsa'] %}
{% if salt['pillar.get']('openssh:provide_' ~ keyType ~ '_keys', False) %}
ssh_host_{{ keyType }}_key:
file.managed: