相关疑难解决方法(0)

Github:许可被拒绝(公钥)

更新

今天再次进入这个 - 当我的工作笔记本电脑被带回家时 - 似乎Window域可能是潜在的问题.在这里找到解决方案:

SSH正在寻找Windows上公钥/私钥对的错误位置

原始问题

我已经让Git在过去的几个月里工作正常,今天早上我尝试推动并且我被要求确认IP的RSA证书 - 我仔细检查github IP并且没关系,所以我添加了证书.但是我得到了:

Permission denied (publickey).
fatal: The remote end hung up unexpectedly
Run Code Online (Sandbox Code Playgroud)

当我试图推或拉.

我读了Git - 权限被拒绝(publickey)并尝试将我的密钥再次添加到Github,但我被告知:

Key is already in use
Run Code Online (Sandbox Code Playgroud)

运行

ssh -vT git@github.com
Run Code Online (Sandbox Code Playgroud)

Retuns:

OpenSSH_4.6p1, OpenSSL 0.9.8e 23 Feb 2007
debug1: Connecting to github.com [207.97.227.239] port 22.
debug1: Connection established.
debug1: identity file /p/.ssh/identity type -1
debug1: identity file /p/.ssh/id_rsa type -1
debug1: identity file /p/.ssh/id_dsa type -1
debug1: Remote protocol version 2.0, remote software version …
Run Code Online (Sandbox Code Playgroud)

github

12
推荐指数
1
解决办法
1万
查看次数

标签 统计

github ×1