Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

2
  • Are you storing your private keys anywhere other than the standard ~/.ssh ? As far as I know, ssh-agent does not cache the filename from which a key was loaded, so there is no option to display it. You can compare fingerprints of your keys with the fingerprints listed by ssh-add -l to determine which key file corresponds to which fingerprint in the agent. Commented Jun 5, 2019 at 14:08
  • @user4556274 no I have seen some outputs show the filename such as blog.tinned-software.net/manage-ssh-keys-with-the-ssh-agent Commented Jun 5, 2019 at 15:33