I've always specifically refused to do this because it's very common for insufficient entropy to be available at boot time, resulting in weak host keys on systems that have been configured this way. There was an academic study a while back of weak host keys on the internet where this sort of thing was one of the likely causes.
You can configure your own VMs to do this kind of thing via cloud-init or whatever, but I'm afraid I don't intend to put it in the default configuration. ** Project changed: launchpad => openssh (Ubuntu) ** Changed in: openssh (Ubuntu) Status: New => Won't Fix -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1778386 Title: If SSH host keys are missing, they should automatically regenerate at boot time To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1778386/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs