Solved Could not load host key

I just upgraded a system from 9.2-p1 to 9.3 using the following method:

Code:
svn  co https://svn0.us-east.freebsd.org/base/releng/9.3 /usr/src
cd /usr/src
make buildworld
make buildkernel 
make installkernel
make installworld
mergemaster -p
shutdown -r now

After the reboot, I'm seeing the following logged on the console and in /var/auth.log
error: Could not load host key: /etc/ssh/ssh_host_ed25519_key

There is no host with that name in /etc/ssh. I see it being mentioned here:
http://www.freebsd.org/cgi/man.cgi?query=ssh&sektion=1

...but there is no explanation as to what it's for. Do I need it and if so, what's the best way of creating it?

Thanks! :D
 
Re: Could not load host key: /etc/ssh/ssh_host_ed25519_key

It's a new type of key that's been added to the latest OpenSSH. The ED25519 host key should be automatically generated the first time sshd(8) is started. Generation of the hosts keys is done in the /etc/rc.d/sshd start script.
 
Re: Could not load host key: /etc/ssh/ssh_host_ed25519_key

Ah, I needed to re-run mergemaster - there is a new /etc/init.d/sshd. I ran it and it created the key.

Thanks! :D
 
Back
Top