no ssh host keys generated when booting with systemd

Bug #1372937 reported by Scott Moser on 2014-09-23
This bug affects 1 person
Affects Status Importance Assigned to Milestone
system-image (Ubuntu)
Michael Vogt

Bug Description

When booting the system image, nothing generates ssh host keys.

Normally I think these are created on installation, but for good reason they're not included in the image.
In cloud imags, cloud-init does this. In other systemd boot scenarios, they're generated by another ssh service that is then a dependency of ssh starting.

The end result is that the user cannot ssh in until they run
  ssh-keygen -t rsa -N '' -f /etc/ssh/ssh_host_rsa_key

Steve Langasek (vorlon) on 2014-09-23
Changed in system-image (Ubuntu):
assignee: nobody → James Hunt (jamesodhunt)
Steve Langasek (vorlon) wrote :

This probably needs to be moved to a different package than system-image, which is the package for the atomic updating tools; but I'm not sure if we know what package this will be on, as I'm not sure the package to handle the system-image boot-time setup exists yet. (Will be based on lxc-android-config, but may not be the same source package.)

Steve Langasek (vorlon) on 2014-09-30
Changed in system-image (Ubuntu):
importance: Undecided → High
status: New → Triaged
James Hunt (jamesodhunt) on 2014-10-10
Changed in system-image (Ubuntu):
assignee: James Hunt (jamesodhunt) → Michael Vogt (mvo)
status: Triaged → Fix Committed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers