diff options
author | Max Krummenacher <max.oss.09@gmail.com> | 2015-08-07 16:15:52 +0200 |
---|---|---|
committer | Max Krummenacher <max.oss.09@gmail.com> | 2015-08-07 16:19:36 +0200 |
commit | df27a8ebad66cdb185138acc80f5c7d350210372 (patch) | |
tree | c3fc1eb5d245e3e4ef564a77e0e9eb3fbc4c0aac /recipes-connectivity/openssh/openssh/openssh/sshdgenkeys.service | |
parent | 9f5e99060728374b6b3754860577d4cb010d1591 (diff) |
openssh: backport version 6.8 from master
We've seen newer distros which incorrectly negotiate used cypher with the on
target openssh. Using 6.8 fixes that.
Diffstat (limited to 'recipes-connectivity/openssh/openssh/openssh/sshdgenkeys.service')
-rw-r--r-- | recipes-connectivity/openssh/openssh/openssh/sshdgenkeys.service | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/recipes-connectivity/openssh/openssh/openssh/sshdgenkeys.service b/recipes-connectivity/openssh/openssh/openssh/sshdgenkeys.service new file mode 100644 index 0000000..d65086f --- /dev/null +++ b/recipes-connectivity/openssh/openssh/openssh/sshdgenkeys.service @@ -0,0 +1,11 @@ +[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 +ConditionPathExists=|!/etc/ssh/ssh_host_ed25519_key + +[Service] +ExecStart=@BINDIR@/ssh-keygen -A +Type=oneshot +RemainAfterExit=yes |