Could not load host key – SSH Error

How to solve the ssh error message: Could not load host key:

root@wlancontroller:~# tailf -n 100 /var/log/auth.log

sshd[8500]: error: Could not load host key: /etc/ssh/ssh_host_rsa_key
sshd[8500]: error: Could not load host key: /etc/ssh/ssh_host_dsa_key
sshd[8500]: error: Could not load host key: /etc/ssh/ssh_host_ecdsa_key
sshd[8500]: error: Could not load host key: /etc/ssh/ssh_host_ed25519_key
sshd[8500]: fatal: No supported key exchange algorithms [preauth]

Solution: Create ssh keys

dpkg-reconfigure openssh-server

/etc/init.d/ssh restart

Kommentar verfassen

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert.

Scroll to Top