Home arrow Debugging Tips arrow Could not load host key: /etc/ssh/ssh_host_ecdsa_key
Could not load host key: /etc/ssh/ssh_host_ecdsa_key PDF
Friday, 24 February 2012
If we get the following error when restarting ssh, after an upgrade from FreeBSD 8.2 to 9.0:

/etc/rc.d/sshd restart
Stopping sshd.
Waiting for PIDS: 993.
Starting sshd.
Could not load host key: /etc/ssh/ssh_host_ecdsa_key


Then, to solve the problem we need to create ecdsa key with the following command:

 ssh-keygen -t ecdsa -f /etc/ssh/ssh_host_ecdsa_key -N ''

 
< Prev   Next >

Other BSD Systems

OpenBSD

Misc

Solaris

Polls

Best BSD firewall?