3 ms·
What is the easiest way to manage SSH keys? I can't remember where half of mine have been saved. I should really revoke everything and start again, as I use it
by 7ewis 11y ago
What is the easiest way to manage SSH keys?
I can't remember where half of mine have been saved. I should really revoke everything and start again, as I use it for accessing my VPS too.
How do you revoke all keys on Ubuntu and OS X?
- semi-extrinsic 11y agoThere is no concept of revoking ssh keys, so you have to remove them from the ~/.ssh/authorized_keys file on every server you have access to, and delete the public keys at every service you've uploaded them to. For a revoking mechanism to be possible you would need a trusted third party (like a certificate authority) to verify the keys for each and every connection you make.
- shabble 11y agoFor managing large infrastructure, it's possible with semi-recent openSSH (5.4+ I think?) to validate and revoke keys[1] by signing them with a different key which the server (or client) trusts. [1] http://www.lorier.net/docs/ssh-ca http://www.lorier.net/docs/ssh-ca