[Bug 1217950] Re: SSH public key isn't created in vagrant cloud images

Brian Lalor blalor at bravo5.org
Thu Sep 26 19:51:40 UTC 2013


Errors in auth.log show:


Sep 26 19:43:51 vagrant-ubuntu-raring-64 sshd[1442]: error: Could not load host key: /etc/ssh/ssh_host_rsa_key
Sep 26 19:43:51 vagrant-ubuntu-raring-64 sshd[1442]: error: Could not load host key: /etc/ssh/ssh_host_dsa_key
Sep 26 19:43:51 vagrant-ubuntu-raring-64 sshd[1442]: error: Could not load host key: /etc/ssh/ssh_host_ecdsa_key
Sep 26 19:43:53 vagrant-ubuntu-raring-64 sshd[1442]: fatal: No supported key exchange algorithms [preauth]

Problem temporarily worked-around by doing this:


sudo ssh-keygen -f /etc/ssh/ssh_host_ecdsa_key -N '' -t ecdsa
sudo ssh-keygen -f /etc/ssh/ssh_host_dsa_key -N '' -t dsa
sudo ssh-keygen -f /etc/ssh/ssh_host_rsa_key -N '' -t rsa

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to cloud-init in Ubuntu.
https://bugs.launchpad.net/bugs/1217950

Title:
  SSH public key isn't created in vagrant cloud images

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



More information about the Ubuntu-server-bugs mailing list