【发布时间】:2015-05-10 22:02:58
【问题描述】:
您好,如果我尝试使用 ssh 连接 bitbucket.org
ssh -vT git@bitbucket.org
一切正常
debug1: Authentication succeeded (publickey).
但如果我尝试使用 git clone 命令,我会收到以下消息:
Permission denied (publickey).
fatal: The remote end hung up unexpectedly
一些额外信息:
- 我已将公钥包含在我的 Bitbucket 帐户中
- 我的密钥位于
~/.ssh/ - 我没有使用 sudo 运行
- 命令
ssh-add -l返回正确的密钥。 (RSA)
【问题讨论】:
标签: git ssh key bitbucket public