Comment 1 for bug 892554

Revision history for this message
Scott Moser (smoser) wrote :

This was actually fix-committed in upstream cloud-init at revision 471.
http://bazaar.launchpad.net/~cloud-init-dev/cloud-init/trunk/revision/471

-ssh-keygen -l -f /etc/ssh/ssh_host_rsa_key.pub
-ssh-keygen -l -f /etc/ssh/ssh_host_dsa_key.pub
+for f in /etc/ssh/ssh_host_*key.pub; do
+ [ -f "$f" ] || continue
+ ssh-keygen -l -f "$f"
+done