[SlugBug] ssh keys fubar'ed
Jonathan
jonathan at sirtis.org.uk
Fri Sep 5 17:14:57 BST 2003
Bill Best wrote:
> hi
>
> i run an rsync backup job over ssh under cron and i did the trick about
> exchanging public keys to get around the password problem - as helpfully
> described by o'reilly here: http://hacks.oreilly.com/pub/h/66
>
> anyway, all was running well but i have since moved one of the servers
> to a co-lo facility and given it a new hostname and so on.
>
> now ssh/scp doesn't work.
>
> how do i get rid of all the old keys and start all over again?
>
> many thanks in advance.
If you run the script manually, you should see the errors, it used to
complain about a man-in-the-middle attack, presumably called Malcolm :)
In your ~/.ssh or ~/.ssh2 directory, you should find a file called
known_hosts - zap the entry from there for the host (on the sending
side) - you may also need to initiate another transfer to confirm you
trust the new key.
Regards,
Jonathan
More information about the SlugBug
mailing list