aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/openssh/openssh/sshdgenkeys.service
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2014-02-28 16:37:18 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-02-28 18:02:10 +0000
commitea86d4ccc56f7933f988f0b24f09c5b6888d51ed (patch)
treeb159f6c227bd5157fa7bb78bc09ef21268350947 /meta/recipes-connectivity/openssh/openssh/sshdgenkeys.service
parent9c5734b91c274be85200a9790202326dd6debfc1 (diff)
downloadopenembedded-core-contrib-ea86d4ccc56f7933f988f0b24f09c5b6888d51ed.tar.gz
openembedded-core-contrib-ea86d4ccc56f7933f988f0b24f09c5b6888d51ed.tar.bz2
openembedded-core-contrib-ea86d4ccc56f7933f988f0b24f09c5b6888d51ed.zip
openssh: upgrade to 6.5p1
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity/openssh/openssh/sshdgenkeys.service')
-rw-r--r--meta/recipes-connectivity/openssh/openssh/sshdgenkeys.service10
1 files changed, 10 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/openssh/openssh/sshdgenkeys.service b/meta/recipes-connectivity/openssh/openssh/sshdgenkeys.service
new file mode 100644
index 0000000000..c21d70baf0
--- /dev/null
+++ b/meta/recipes-connectivity/openssh/openssh/sshdgenkeys.service
@@ -0,0 +1,10 @@
+[Unit]
+Description=OpenSSH Key Generation
+ConditionPathExists=|!/etc/ssh/ssh_host_rsa_key
+ConditionPathExists=|!/etc/ssh/ssh_host_dsa_key
+ConditionPathExists=|!/etc/ssh/ssh_host_ecdsa_key
+
+[Service]
+ExecStart=@BINDIR@/ssh-keygen -A
+Type=oneshot
+RemainAfterExit=yes