← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1382118] [NEW] Cloud-init doesn't support SSH ed25519 keys

 

Public bug reported:

Recent (?) OpenSSH versions supports ed25519 keys and Ubuntu specifies
the following its sshd_config:

HostKey /etc/ssh/ssh_host_ed25519_key

Unfortunately, cloudinit deletes all the key in /etc/ssh, and doesn't
recreate that specific key. It should regenerate one of those key, or
remove the option from the configuration file.

The main side effect currently is an ugly error message during
authentication. In /var/log/auth.log:

sshd: error: Could not load host key: /etc/ssh/ssh_host_ed25519_key

** Affects: cloud-init
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to cloud-init.
https://bugs.launchpad.net/bugs/1382118

Title:
  Cloud-init doesn't support SSH ed25519 keys

Status in Init scripts for use on cloud images:
  New

Bug description:
  Recent (?) OpenSSH versions supports ed25519 keys and Ubuntu specifies
  the following its sshd_config:

  HostKey /etc/ssh/ssh_host_ed25519_key

  Unfortunately, cloudinit deletes all the key in /etc/ssh, and doesn't
  recreate that specific key. It should regenerate one of those key, or
  remove the option from the configuration file.

  The main side effect currently is an ugly error message during
  authentication. In /var/log/auth.log:

  sshd: error: Could not load host key: /etc/ssh/ssh_host_ed25519_key

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1382118/+subscriptions


Follow ups

References