summaryrefslogtreecommitdiff
path: root/pcr/openssh-knock/sshdgenkeys.service
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/openssh-knock/sshdgenkeys.service')
-rw-r--r--pcr/openssh-knock/sshdgenkeys.service17
1 files changed, 0 insertions, 17 deletions
diff --git a/pcr/openssh-knock/sshdgenkeys.service b/pcr/openssh-knock/sshdgenkeys.service
deleted file mode 100644
index 1d01b7acf..000000000
--- a/pcr/openssh-knock/sshdgenkeys.service
+++ /dev/null
@@ -1,17 +0,0 @@
-[Unit]
-Description=SSH Key Generation
-ConditionPathExists=|!/etc/ssh/ssh_host_key
-ConditionPathExists=|!/etc/ssh/ssh_host_key.pub
-ConditionPathExists=|!/etc/ssh/ssh_host_rsa_key
-ConditionPathExists=|!/etc/ssh/ssh_host_rsa_key.pub
-ConditionPathExists=|!/etc/ssh/ssh_host_dsa_key
-ConditionPathExists=|!/etc/ssh/ssh_host_dsa_key.pub
-ConditionPathExists=|!/etc/ssh/ssh_host_ecdsa_key
-ConditionPathExists=|!/etc/ssh/ssh_host_ecdsa_key.pub
-ConditionPathExists=|!/etc/ssh/ssh_host_ed25519_key
-ConditionPathExists=|!/etc/ssh/ssh_host_ed25519_key.pub
-
-[Service]
-ExecStart=/usr/bin/ssh-keygen -A
-Type=oneshot
-RemainAfterExit=yes