PDA

View Full Version : [SOLVED] Bad Host Key


NateMan
January 7th, 2008, 02:55 AM
I just redid my server, however now I cannot ssh into through terminal. It gives me an error message telling me that host key varification failed. I understand this is because my new install has a different key than the old one, but I'm unsure on how to change this in my laptop so I can receive and authenticate the new key. Any help would be greatly appreciated.

HermanAB
January 7th, 2008, 03:12 AM
Delete ~/.ssh/known-hosts

Cheers,

Herman

NateMan
January 7th, 2008, 11:15 AM
Thanks, worked like a charm. Problem solved.