Attaching the patch as I originially intended it to look. I didn't know that not having hostkeys was valid (and am still rather surprised that's the case). Do you have an example sshd_config that doesn't use host keys? The documentation says it has defaults for HostKey, so even if they're not specified, I imagine it would use them anyway.
** Attachment added: "The proposed patch" http://launchpadlibrarian.net/15903169/ssh_regen_host_keys.diff -- ssh's init script should generate host keys if they're missing https://bugs.launchpad.net/bugs/246558 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs