我如何从github中删除我的公钥? [英] how do I remove my public key from github?

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

问题描述

我有一个公共链接到我的github上的个人资料。我很久以前就说过了。
自从我把它放了之后,我就失去了这对的私钥。



我生成了一个新的密钥对并将其放在我的github配置文件。但我仍然无法推到github上。 git给了我与我的密钥相关的错误。



我想删除旧的公钥,但我似乎无法找到在github中执行此操作的选项管理仪表板。我找不到任何关于如何删除密钥的说明。我已经发邮件给他们寻求帮助,但还没有得到答复。



如何删除我的github帐户中的现有密钥?

解决方案

要删除SSH公钥,请按照以下步骤操作。 b

  • 登录您的GitHub帐户。

  • 转至帐户设置。

  • 点击 / 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.

    1. Login to your GitHub account.
    2. Go to the account Settings.
    3. Follow the link 'SSH keys' at /settings/ssh.
    4. Note your key in a list, represented as an email address (or compare with ssh-add -l).
    5. Simply click on the 'Delete' next to your key.

    That should do it.

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

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