Re: Updated Jessie experimental images: 20150213 (and deprecating previous Jessie 20141225)
TOn Sat, 14 Feb 2015, James Bromberger wrote:
> eu-central-1 ami-5e615343 ami-04615319
Greetings. I'm testing the Amazon Free Tier since a few days, and I've
discovered a very simple bug in the above image (ami-5e615343).
The file /etc/ssh/sshd_config says:
HostKey /etc/ssh/ssh_host_rsa_key
HostKey /etc/ssh/ssh_host_dsa_key
HostKey /etc/ssh/ssh_host_ecdsa_key
HostKey /etc/ssh/ssh_host_ed25519_key
but the last one (ed25519) does not actually exist.
As a result, messages like this one may be found in /var/log/auth.log:
[...] sshd[4859]: error: Could not load host key: /etc/ssh/ssh_host_ed25519_key
The simple workaround is "dpkg-reconfigure openssh-server" but we
might better fix this in the images (cloud-init maybe, I'm completely
new to this).
Thanks.
Reply to: