From 9c36698ca2f554ec221dc7ef29c7a89e97c88705 Mon Sep 17 00:00:00 2001 From: Tim Rice Date: Fri, 14 Mar 2014 12:45:01 -0700 Subject: [PATCH] 20140314 - (tim) [opensshd.init.in] Add support for ed25519 --- ChangeLog | 3 +++ opensshd.init.in | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/ChangeLog b/ChangeLog index 9c59cc43b..500087088 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,6 @@ +20140314 + - (tim) [opensshd.init.in] Add support for ed25519 + 20140313 - (djm) Release OpenSSH 6.6 diff --git a/opensshd.init.in b/opensshd.init.in index 0db60caa7..517345bfb 100755 --- a/opensshd.init.in +++ b/opensshd.init.in @@ -21,6 +21,7 @@ HOST_KEY_RSA1=$sysconfdir/ssh_host_key HOST_KEY_DSA=$sysconfdir/ssh_host_dsa_key HOST_KEY_RSA=$sysconfdir/ssh_host_rsa_key @COMMENT_OUT_ECC@HOST_KEY_ECDSA=$sysconfdir/ssh_host_ecdsa_key +HOST_KEY_ED25519=$sysconfdir/ssh_host_ed25519_key checkkeys() { @@ -36,6 +37,9 @@ checkkeys() { @COMMENT_OUT_ECC@ if [ ! -f $HOST_KEY_ECDSA ]; then @COMMENT_OUT_ECC@ ${SSH_KEYGEN} -t ecdsa -f ${HOST_KEY_ECDSA} -N "" @COMMENT_OUT_ECC@ fi + if [ ! -f $HOST_KEY_ED25519 ]; then + ${SSH_KEYGEN} -t ed25519 -f ${HOST_KEY_ED25519} -N "" + fi } stop_service() {