summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2018-01-30 20:52:00 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2018-07-17 19:55:08 +0000
commitdc5d72a55e681854cf217a70f3cc7e19609f4a5c (patch)
tree052059a197f9e22dd50706420225d62ac78189d8
parentRenumbering patches. (diff)
downloadopenssh-dc5d72a55e681854cf217a70f3cc7e19609f4a5c.zip
openssh-dc5d72a55e681854cf217a70f3cc7e19609f4a5c.tar.xz
Re-enabling to generate ED25519 host keys.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rw-r--r--debian/openssh-server.postinst3
1 files changed, 3 insertions, 0 deletions
diff --git a/debian/openssh-server.postinst b/debian/openssh-server.postinst
index cacf106..525c4a9 100644
--- a/debian/openssh-server.postinst
+++ b/debian/openssh-server.postinst
@@ -31,6 +31,7 @@ host_keys_required() {
# No HostKey directives at all, so the server picks some
# defaults.
echo /etc/ssh/ssh_host_rsa_key
+ echo /etc/ssh/ssh_host_ed25519_key
fi
}
@@ -64,6 +65,8 @@ create_keys() {
if [ ! -e /etc/ssh/ssh_host_rsa_key-cert.pub ]; then
touch /etc/ssh/ssh_host_rsa_key-cert.pub
fi
+ create_key "Creating SSH2 ED25519 key; this may take some time ..." \
+ "$hostkeys" /etc/ssh/ssh_host_ed25519_key -t ed25519
}