Doug’s Blog

Handily dispensing information to .00000001% of the world’s population

Archive for June, 2014

SSH: Could not load host key: /etc/ssh/ssh_host_rsa_key

Tuesday, June 3rd, 2014

After doing a yum update the other day I would get these warnings in /var/log/messages and when doing ssh into the host:

error: Could not load host key: /etc/ssh/ssh_host_key

To fix this, you need to be root and:

/usr/bin/ssh-keygen -A

service sshd restart