diff options
author | James Meyer <james.meyer@operamail.com> | 2012-08-07 17:48:41 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2012-08-07 17:48:41 (GMT) |
commit | 3db4697296afcefb5b9d5d4b8acc462466192ab5 (patch) | |
tree | cc89cb07cb8d3189a8172a5f3dc3030f7374c8bf /abs/core/openssh/sshdgenkeys.service | |
parent | df0abbd835cdc168cba9da94c72121f39232ce8a (diff) | |
download | linhes_pkgbuild-3db4697296afcefb5b9d5d4b8acc462466192ab5.zip linhes_pkgbuild-3db4697296afcefb5b9d5d4b8acc462466192ab5.tar.gz linhes_pkgbuild-3db4697296afcefb5b9d5d4b8acc462466192ab5.tar.bz2 |
openssh: 6.0p1
Diffstat (limited to 'abs/core/openssh/sshdgenkeys.service')
-rw-r--r-- | abs/core/openssh/sshdgenkeys.service | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/abs/core/openssh/sshdgenkeys.service b/abs/core/openssh/sshdgenkeys.service new file mode 100644 index 0000000..47c1c3f --- /dev/null +++ b/abs/core/openssh/sshdgenkeys.service @@ -0,0 +1,18 @@ +[Unit] +Description=SSH Key Generation +ConditionPathExists=|!/etc/ssh/ssh_host_key +ConditionPathExists=|!/etc/ssh/ssh_host_key.pub +ConditionPathExists=|!/etc/ssh/ssh_host_ecdsa_key +ConditionPathExists=|!/etc/ssh/ssh_host_ecdsa_key.pub +ConditionPathExists=|!/etc/ssh/ssh_host_dsa_key +ConditionPathExists=|!/etc/ssh/ssh_host_dsa_key.pub +ConditionPathExists=|!/etc/ssh/ssh_host_rsa_key +ConditionPathExists=|!/etc/ssh/ssh_host_rsa_key.pub + +[Service] +ExecStart=/usr/bin/ssh-keygen -A +Type=oneshot +RemainAfterExit=yes + +[Install] +WantedBy=multi-user.target |