Could not load host key: /etc/ssh/ssh_host_ecdsa_key

debian

service ssh restart

出现Could not load host key: /etc/ssh/ssh_host_ecdsa_key

解决方法:

dpkg-reconfigure openssh-server

Drop Your Comment