← Back to team overview

touch-packages team mailing list archive

[Bug 1372937] [NEW] no ssh host keys generated when booting with systemd

 

Public bug reported:

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

** Affects: system-image (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to system-image in Ubuntu.
https://bugs.launchpad.net/bugs/1372937

Title:
  no ssh host keys generated when booting with systemd

Status in “system-image” package in Ubuntu:
  New

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/system-image/+bug/1372937/+subscriptions


Follow ups

References