mirror of
https://github.com/saltstack-formulas/openssh-formula.git
synced 2026-10-23 21:05:47 +02:00
Added configuration options for ssh_config
Made a small change to reflect the default sshd_config
This commit is contained in:
1 parent
331493194a
commit
13cf374efe
5 files changed
+123
-3
No files matched your search
@@ -13,6 +13,14 @@ sshd_config:
|
||||
- watch_in:
|
||||
- service: openssh
|
||||
|
||||
ssh_config:
|
||||
file.managed:
|
||||
- name: {{ openssh.ssh_config }}
|
||||
- source: {{ openssh.ssh_config_src }}
|
||||
- template: jinja
|
||||
- user: root
|
||||
- mode: 644
|
||||
|
||||
{% for keyType in ['ecdsa', 'dsa', 'rsa', 'ed25519'] %}
|
||||
{% if salt['pillar.get']('openssh:generate_' ~ keyType ~ '_keys', False) %}
|
||||
ssh_generate_host_{{ keyType }}_key:
|
||||
|
||||
Reference in new issue
Block a user