diff --git a/notes/ssh.md b/notes/ssh.md index 7474dd7..7f90be2 100644 --- a/notes/ssh.md +++ b/notes/ssh.md @@ -15,3 +15,14 @@ ssh-keyscan localhost ```sh ssh-keygen -t ed25519 -C "bob@example.com" ``` + +# Remove ssh key + +```sh +gpg-connect-agent +``` + +``` +KEYINFO --ssh-list --ssh-fpr +DELETE_KEY XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX +```