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:
parent
620cc0f199
commit
33f21a0976
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user