I need to do the SSH key audit for GitHub, but I am not sure how do find my RSA key fingerprint. I originally followed a guide to generate an SSH key on Linux.
What is the command I need to enter to find my current RSA key fingerprint?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Run the following command to retrieve the SHA256 fingerprint of your SSH key (
-lmeans "list" instead of create a new key,-fmeans "filename"):So for example, on my machine the command I ran was (using RSA public key):
To get the GitHub (MD5) fingerprint format with newer versions of ssh-keygen, run:
Bonus information:
ssh-keygen -lfalso works onknown_hostsandauthorized_keysfiles.To find most public keys on Linux/Unix/OS X systems, run
(If you want to see inside other users’ homedirs, you’ll have to be root or sudo.)
The
ssh-add -lis very similar, but lists the fingerprints of keys added to your agent. (OS X users take note that magic passwordless SSH via Keychain is not the same as using ssh-agent.)