我如何查看github的SSH密钥? [英] How can I review my SSH key for github?

查看:1628
本文介绍了我如何查看github的SSH密钥?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近从Github收到一封电子邮件,说我应该检查一下我的SSH密钥:


请检查您的密钥并确保您
认可他们。如果您有任何疑问,请拒绝密钥并
上传新密钥。


如何使用git查看我的密钥您可以按照GitHub指南(-l这里意味着列表而不是创建)。

  $ ssh -keygen -lf〜/ .ssh / id_rsa.pub 


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?

解决方案

You can follow the GitHub guide "Verify 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:

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 -lf ~/.ssh/id_rsa.pub

这篇关于我如何查看github的SSH密钥?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆