Could not load host key: /etc/ssh/ssh_host_ecdsa_key
November 9th, 2014 | by admin |if you get error message : ‘Could not load host key: /etc/ssh/ssh_host_ecdsa_key’ when restarting ssh, after an upgrade from FreeBSD 8.x to 9.x
You need to create new ecdsa key with following command
#ssh-keygen -t ecdsa -f /etc/ssh/ssh_host_ecdsa_key -N
then you should restart the sshd service
#/etc/rc.d/sshd restart