Ubuntu and ssh keys
Ran across a small thing in Ubuntu. Normally when host changed on me for my ssh connection I get the big “HOST IDENTIFICATION HAS CHANGED” and the “man-in-the-middle attack” message. Previously I’d just went in and edited ~/.ssh/known_hosts file (under various Redhat flavors) and removed the offending host by searching for it’s name. At that which point it would then repopulate the next time I made a connection. In Ubuntu it seems the host names are encrypted so in order to change them you need to execute “ssh-keygen -R hostname” which will yank that line from the known hosts file.