How and where can I check what keys have been added with ssh-add
to my ssh-agent
?
Ssh – How to list keys added to ssh-agent with ssh-add
key-authenticationsshssh-agent
key-authenticationsshssh-agent
How and where can I check what keys have been added with ssh-add
to my ssh-agent
?
Best Answer
Use the
-l
option tossh-add
to list them by fingerprint.Or with
-L
to get the full key in OpenSSH format.The latter format is the same as you would put them in a
~/.ssh/authorized_keys
file.