How to check the fingerprint of an SSH key


This is from an email from Gary:

Did you have occasion to reboot the server? I have noticed the generation of new SSH keys during reboot. I have also noticed that some distros are configured to automatically replace the SSHD key periodically. ssh_host_rsa_key is a PEM containing the private key ssh_host_rsa_key.pub contains one line of the form: ssh-rsa PublicKeyValueInBase64 To show the fingerprint use: ssh-keygen -l -f ssh_host_rsa_key.pub

12/02/2004