How to see the available SSH keys in the OpenSSH authentication agent
The 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.’.