summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2022-09-28 15:35:47 +0300
committerLars Wirzenius <liw@liw.fi>2022-12-10 09:17:56 +0200
commit46048ef1064d81168f6cddbd9d01c97add25261f (patch)
tree3963c95b48ddf6fa653ca0d38bbe00f34686aa48
parent2453e9018e59167974e7aa9db118e856e076ca9a (diff)
downloadv-i-46048ef1064d81168f6cddbd9d01c97add25261f.tar.gz
fix: use same filename for sshd config as debian-ansible for user CA
Sponsored-by: author
-rwxr-xr-xconfigure-installer2
-rw-r--r--std.yml2
2 files changed, 2 insertions, 2 deletions
diff --git a/configure-installer b/configure-installer
index 716a941..7851acd 100755
--- a/configure-installer
+++ b/configure-installer
@@ -122,7 +122,7 @@ def user_ca(config, mp):
return
ca_key = cat(ca_path)
- include = f"{mp}/etc/ssh/sshd_config.d/userca.conf"
+ include = f"{mp}/etc/ssh/sshd_config.d/user_ca.conf"
write(include, "TrustedUserCAKeys /etc/ssh/user_ca_pubs\n", 0, 0, 0o644)
cakeys = f"{mp}/etc/ssh/user_ca_pubs"
diff --git a/std.yml b/std.yml
index 6eef9cd..f38c4a1 100644
--- a/std.yml
+++ b/std.yml
@@ -52,7 +52,7 @@
copy:
content: |
TrustedUserCAKeys /etc/ssh/user_ca_pubs
- dest: /etc/ssh/sshd_config.d/userca.conf
+ dest: /etc/ssh/sshd_config.d/user_ca.conf
- name: "install host key"
when: host_key is defined