No. To find the hashed key, use:
ssh-keygen -F hostnameRemove both of the matching lines from ~/.ssh/known_hosts.
ssh-keygen -F ip_address
Now you're connecting to your server box and it prompts you if you want to accept the new key. Is that signature correct, or is there a man in the middle? You did keep an ssh session open to the machine while upgrading, right? So on the server, run:
ssh-keygen -l -f /etc/ssh/ssh_host_rsa_key.pub(or _dsa_key, perhaps). If that fingerprint matches, you're set. If not, you've probably got a man in the middle. Or you just checked the fingerprint on the wrong machine ;)
No comments:
Post a Comment