General Schvantzkoph <(E-Mail Removed)> writes:
> I just regenerated the keys on one of my F14 systems. I am still able to
> access systems which don't have the new public key in their
> authorized_keys file. The one thing I did differently this time was that I
> did an ssh-add after I regenerated the keys. I did the ssh-add because
> putting the new public key into the authorized_keys files of my other
> systems wasn't sufficient to give me access. After the ssh-add I could
> access the other systems, however I could also access systems that don't
> have the new authorized_keys file.
>
> Does ssh-add keep the old keys in the authentication agent as well as the
> new key? This would negate the value of changing keys if true.
I disagree. If you want to revoke the old key, you need to remove its
public half from all the authorized_keys files that list it.
--
http://www.greenend.org.uk/rjk/