0
0
mirror of https://github.com/saltstack-formulas/openssh-formula.git synced 2024-11-27 20:57:48 +01:00

Add support for ED25519 host keys

This commit is contained in:
Franz Pletz 2014-12-15 07:00:17 +01:00
parent 620cc0f199
commit 33f21a0976
2 changed files with 11 additions and 1 deletions

View File

@ -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:

View File

@ -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