@@ -13,7 +13,7 @@ sshd_config: | |||
- watch_in: | |||
- service: openssh | |||
{% for keyType in ['ecdsa', 'dsa', 'rsa'] %} | |||
{% for keyType in ['ecdsa', 'dsa', 'rsa', 'ed25519'] %} | |||
{% if salt['pillar.get']('openssh:generate_' ~ keyType ~ '_keys', False) %} | |||
ssh_generate_host_{{ keyType }}_key: | |||
cmd.run: |
@@ -78,3 +78,13 @@ openssh: | |||
-----END RSA PRIVATE KEY----- | |||
public_key: | | |||
ssh-rsa NOT_DEFINED | |||
generate_ed25519_keys: False | |||
provide_ed25519_keys: False | |||
ed25519: | |||
private_key: | | |||
-----BEGIN OPENSSH PRIVATE KEY----- | |||
NOT_DEFINED | |||
-----END OPENSSH PRIVATE KEY----- | |||
public_key: | | |||
ssh-ed25519 NOT_DEFINED |