How to check which SSH keys are currently 'active'?
As stated in ssh-add
's man page, the -L
option allows you to view the public keys of the identities ssh-agent
currently maintains. You could also use the -l
option to view their fingerprints.
There is a -L
option of ssh-add
that L
ists public key parameters of all identities currently represented by the agent:
ssh-add -L