How to see the available SSH keys in the OpenSSH authentication agent
How to see the available SSH keys in the OpenSSH authentication agent?
Use the ssh-add command to display any available keys that are known to the SSH agent.
ssh-add -lThe OpenSSH authentication agent stores the SSH identities and may use them when connecting to a SSH server. With the ssh-add command and -l option the fingerprints of the known identities can be shown.
ssh-add -l
If the agent is not running, then you will see the message ‘Could not open a connection to your authentication agent.’.