Deleting from .ssh/known_hosts

David Koski david at
Fri Jan 26 15:51:49 UTC 2007

Take another look at the error when you ssh. Does it give you a line number?


On Friday 26 January 2007 07:35, Michael Satterwhite wrote:
> One of the sites I support has changed hosting companies. As a result, the
> ssh fingerprint has changed in known_hosts, preventing me from using ssh to
> connect to it.
> The fix, of course, would be to let ssh create a new fingerprint. To do
> that, I need to delete the fingerprint for the old host. As the host names
> aren't in clear text, I have no idea how to go about this. I'm sure it's
> easy, but I've looked in the man page, and it isn't obviously documented.
> Can anyone offer a suggestion. I'd rather not just delete the known_hosts
> file and let ssh rebuild everything as I move forward, but if I have to, I
> will.

More information about the ubuntu-users mailing list