I have about 5 SSH keys on my computer, and I've added 2 SSH keys by using ssh-add
command. When listing all SSH keys, I can use ssh-add -l
command
How can I delete a single or all SSH key that I just added?
I have about 5 SSH keys on my computer, and I've added 2 SSH keys by using ssh-add
command. When listing all SSH keys, I can use ssh-add -l
command
How can I delete a single or all SSH key that I just added?
I mentioned before ssh-add -D
to delete all your manually added keys.
The other option would be to kill the ssh-agent
process, restart it and add only the one you want to keep.