gpg-agent list and delete key + md5 fingerprint

This commit is contained in:
benoit 2020-05-27 01:39:09 +00:00
parent e6f549f8a0
commit 41f05e8412

View file

@ -1,3 +1,17 @@
GPG-agent list SSH key and remove.
~~~
gpg-connect-agent
KEYINFO --ssh-list --ssh-fpr
DELETE_KEY $HASH
~~~
Show md5 fingerprint of SSH key.
~~~
ssh-keygen -l -E md5 -f .ssh/key.pub
~~~
Password recovery. At grub stage, press `e` to edit the kernel line and add `init=/bin/bash`. It will drop you in a shell before init system (systemd).
~~~