New SSH Keys on Your Server?
I just learned a nifty little trick for updating your SSH keys when a server has changed them on you and you are being warned by ssh of a “man-in-the-middle” attack possibility… ssh-keyscan -t rsa YourDomain.Com >> ~/.ssh/known_hosts vi ~/.ssh/known_hosts Delete the older entry – keep the new one. I just had to use this […]