Sfoglia il codice sorgente

Add support for ED25519 host keys

tags/v0.41.0
Franz Pletz 10 anni fa
parent
commit
33f21a0976
2 ha cambiato i file con 11 aggiunte e 1 eliminazioni
  1. +1
    -1
      openssh/config.sls
  2. +10
    -0
      pillar.example

+ 1
- 1
openssh/config.sls Vedi 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:

+ 10
- 0
pillar.example Vedi 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

Loading…
Annulla
Salva