ssh's init script should generate host keys if they're missing
Bug #246558 reported by
Soren Hansen
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openssh (Ubuntu) |
Confirmed
|
Low
|
Unassigned |
Bug Description
I imagine it's useful for other use cases as well, but for me at least it would be very helpful if openssh-server were to generate new host keys if none are found during boot. This makes it a no-brainer to distribute a virtual appliance without compromising security by sharing host keys on every single instance of them.
I'll attach a patch shortly.
Related branches
Changed in openssh (Ubuntu): | |
importance: | Undecided → Low |
status: | New → Confirmed |
description: | updated |
To post a comment you must log in.
Host keys are not necessarily needed when running openssh-server, i.e when using GSSAPI/Kerberos, and it could actually be argued that it is a bug if they were generated automatically if not found.
Please make it configurable if you want the keys to be generated and which keys you want to be generated.