Running /usr/sbin/sshd
produces the following results:
Could not load host key: /etc/ssh/ssh_host_rsa_key
Could not load host key: /etc/ssh/ssh_host_dsa_key
Could not load host key: /etc/ssh/ssh_host_ecdsa_key
Could not load host key: /etc/ssh/ssh_host_ed25519_key
Missing privilege separation directory: /var/run/sshd
I checked in /etc/ssh
and all 4 host keys (and their .pub
files) seem to be available, although /var/run/sshd
is missing.
What can I do to let it load the host keys?