summaryrefslogtreecommitdiffstats
path: root/salt/common/ssh.sls
diff options
context:
space:
mode:
Diffstat (limited to 'salt/common/ssh.sls')
-rw-r--r--salt/common/ssh.sls12
1 files changed, 12 insertions, 0 deletions
diff --git a/salt/common/ssh.sls b/salt/common/ssh.sls
new file mode 100644
index 0000000..76033fd
--- /dev/null
+++ b/salt/common/ssh.sls
@@ -0,0 +1,12 @@
+include:
+ - openssh.banner
+ - openssh.config
+
+/etc/ssh/user_ca:
+ file.managed:
+ - contents:
+ {%- for key in salt['pillar.get']('secret_ssh:userca_keys') -%}
+ - {{ key }}
+ {%- endfor -%}
+ - require:
+ - pkg: openssh