[SCM] live-config branch, debian-next, updated. debian/3.0_a32-1-3-g3574492

Daniel Baumann daniel at debian.org
Sun Feb 19 16:20:51 UTC 2012


The following commit has been merged in the debian-next branch:
commit eb66b7471ee741092762e55860cdeee79fc1e956
Author: Daniel Baumann <daniel at debian.org>
Date:   Thu Feb 16 08:13:05 2012 +0100

    Also creating ecdsa host keys in openssh-server script on wheezy.

diff --git a/scripts/config/118-openssh-server b/scripts/config/118-openssh-server
index c0264e2..1ee2ad3 100755
--- a/scripts/config/118-openssh-server
+++ b/scripts/config/118-openssh-server
@@ -38,6 +38,14 @@ Configure_openssh_server ()
 		_SSH="true"
 	fi
 
+	if [ -e /run ] && if [ ! -e /etc/ssh/ssh_host_ecdsa_key ]
+	then
+		# FIXME: use some better >= wheezy detection than existence of /run
+		ssh-keygen -q -f /etc/ssh/ssh_host_ecdsa_key -N "" -t ecdsa
+
+		_SSH="true"
+	fi
+
 	if [ "${_SSH}" = "true" ]
 	then
 		# Creating state file

-- 
live-config



More information about the debian-live-changes mailing list