[SCM] live-config branch, debian, updated. debian/3.0_a32-1-12-gc3ed9f8

Daniel Baumann daniel at debian.org
Sun Mar 18 13:39:55 UTC 2012


The following commit has been merged in the debian branch:
commit 894dac73a6f58c2bd3ce571ec5186bee53aca2b0
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..0e44525 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 ] && [ ! -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