From 3755e5e0b56ea223c78b6d384883287729862d65 Mon Sep 17 00:00:00 2001 From: Dmitriy Pleshevskiy Date: Tue, 1 Aug 2023 12:55:00 +0300 Subject: [PATCH] notes: add notes about deleting a ssh key --- notes/ssh.md | 11 +++++++++++ 1 file changed, 11 insertions(+) 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 +```