Package: xen-tools
Version: 4.2.1-1
Followup-For: Bug #607236
updated patch to only attempt to generate the keys if not already present:
--- /usr/lib/xen-tools/debian.d/70-install-ssh.orig 2011-08-24
16:27:44.653366953 -0700
+++ /usr/lib/xen-tools/debian.d/70-install-ssh 2011-08-24 16:30:45.958266439
-0700
@@ -36,20 +36,24 @@
#
# Second, Generate the Host RSA Key
#
+if [ ! -f ${prefix}/etc/ssh/ssh_host_rsa_key ]; then
if ssh-keygen -t rsa -N "" -f ${prefix}/etc/ssh/ssh_host_rsa_key -C
"root@${hostname}"; then
logMessage "successfully generetaged Host RSA"
else
logMessage "failed to generate Host RSA Key"
fi
+fi
#
# Third, Generate the Host DSA Key
#
+if [ ! -f ${prefix}/etc/ssh/ssh_host_dsa_key ]; then
if ssh-keygen -t dsa -N "" -f ${prefix}/etc/ssh/ssh_host_dsa_key -C
"root@${hostname}"; then
logMessage "successfully generetaged Host DSA"
else
logMessage "failed to generate Host DSA Key"
fi
+fi
#
# Install ssh
i'm still not entirely sure it needs to manually generate the keys at all, but
at least this would handle existing keys properly.
live well,
vagrant
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]