Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I review my SSH key for github?

I recently got an e-mail from Github saying that I should review my SSH key:

Please review your keys and ensure you recognize them. If you have any doubts whatsoever, reject the keys and upload new keys.

How do I review my keys with git on ubuntu 11.10?

like image 593
Shawn Avatar asked Mar 19 '12 07:03

Shawn


2 Answers

You can follow the GitHub guide "Reviewing your SSH keys"

To verify your SSH keys you need to find the fingerprint of each key on your computer and compare it to the fingerprint displayed on GitHub.

What’s a Fingerprint?

An SSH key’s fingerprint is a sequence of bytes unique to that key.
Fingerprints are usually encoded into hexadecimal strings and formatted into groups of characters for readability.

We display SSH key fingerprints on GitHub along with the key’s title:

key fingerprint

From there, for Ubuntu, you can refer to "How do I find my RSA key fingerprint on ubuntu 10.04 (hosted by linode)" (-l here means to "list" instead of create).

$ ssh-keygen -E md5 -lf ~/.ssh/id_rsa.pub
like image 89
VonC Avatar answered Sep 20 '22 03:09

VonC


You can also use https://github.com/username.keys (I used my keys as a demo URL).

like image 31
chx Avatar answered Sep 21 '22 03:09

chx