diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-11-17 21:54:24 -0200 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-11-17 21:54:24 -0200 |
commit | 0e96cf2c85702bb1fbe3db6ea251cde614a3df71 (patch) | |
tree | 72475a533a7d90aa7bd4ffe95758b7862184877a /pcr/openssh-knock/sshdgenkeys.service | |
parent | 0cf10cced5aec70c3dc6f22feb2df4c726055384 (diff) | |
download | abslibre-0e96cf2c85702bb1fbe3db6ea251cde614a3df71.tar.gz abslibre-0e96cf2c85702bb1fbe3db6ea251cde614a3df71.tar.bz2 abslibre-0e96cf2c85702bb1fbe3db6ea251cde614a3df71.zip |
openssh-knock: add new package to [pcr]
Diffstat (limited to 'pcr/openssh-knock/sshdgenkeys.service')
-rw-r--r-- | pcr/openssh-knock/sshdgenkeys.service | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/pcr/openssh-knock/sshdgenkeys.service b/pcr/openssh-knock/sshdgenkeys.service new file mode 100644 index 000000000..1d01b7acf --- /dev/null +++ b/pcr/openssh-knock/sshdgenkeys.service @@ -0,0 +1,17 @@ +[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 |