« Back to SSH: Frequently Asked Questions

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.’.

Other questions related to SSH

Feedback

Is the described answer not working or incorrect, got another tip or question? Share your thoughts!