我如何从github中删除我的公钥? [英] how do I remove my public key from github?
问题描述
我有一个公共链接到我的github上的个人资料。我很久以前就说过了。
自从我把它放了之后,我就失去了这对的私钥。
我生成了一个新的密钥对并将其放在我的github配置文件。但我仍然无法推到github上。 git给了我与我的密钥相关的错误。
我想删除旧的公钥,但我似乎无法找到在github中执行此操作的选项管理仪表板。我找不到任何关于如何删除密钥的说明。我已经发邮件给他们寻求帮助,但还没有得到答复。
如何删除我的github帐户中的现有密钥?
要删除SSH公钥,请按照以下步骤操作。 b
/ settings / ssh
。
ssh-add
那应该这样做。
I've got a public linked to my profile on github. I put it up a long time ago. Since the time I put it up, I've lost the private key of the pair.
I have generated a new key pair and put it on my github profile. But I still can't push to github. git gives me errors related to my keys.
I'd like to remove the old public key, but I can't seem to find the option to do so in githubs admin dashboards. I can't find any instructions for how to remove keys. I've emailed them for help, but haven't gotten a reply as of yet.
How can I remove existing keys in my github account?
To remove an SSH public key, follow the below steps.
- Login to your GitHub account.
- Go to the account Settings.
- Follow the link 'SSH keys' at
/settings/ssh
. - Note your key in a list, represented as an email address (or compare with
ssh-add -l
). - Simply click on the 'Delete' next to your key.
That should do it.
这篇关于我如何从github中删除我的公钥?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!