host ssh keys should be preserved when a server is reprovisioned

Bug #1246268 reported by Vincent Ladeuil
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu CI Services
Confirmed
Undecided
Unassigned

Bug Description

When setting up qa-radeon-7750 from scratch, a new ssh host key was generated (default behavior).

This of course led to:

vila:~ :) $ ssh ubuntu@qa-radeon-7750
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

which uselessly scary for the unaware.

Instead, ssh host keys should only be generated once and preserved when hosts are re-provisioned.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.