使用非默认SSH公钥克隆BitBucket Git仓库失败求助
SSH克隆BitBucket仓库失败排查求助
我尝试通过SSH访问BitBucket上的一个旧Git仓库,客户端和BitBucket端的SSH密钥均未更改,但克隆仓库操作失败。
执行的克隆命令及报错如下:
git clone git@bitbucket.org:william_ferguson_au/lexathon-server.git Cloning into 'lexathon-server'... The requested repository either does not exist or you do not have access. If you believe this repository exists and you have access, make sure you're authenticated. fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.
尝试了多种命令变体,结果如下:
git clone ssh://git@bitbucket.org/william_ferguson_au/lexathon-server.git Cloning into 'lexathon-server'... The requested repository either does not exist or you do not have access. If you believe this repository exists and you have access, make sure you're authenticated. fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. git clone ssh://git@bitbucket.org:william_ferguson_au/lexathon-server.git Cloning into 'lexathon-server'... ssh: Could not resolve hostname bitbucket.org:william_ferguson_au: Name or service not known fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.
我已按照Atlassian知识库文档的建议生成新SSH密钥并上传至BitBucket,但问题依旧。
重要说明:该仓库确实存在且我拥有正确的访问权限——同一台机器上其他位置已克隆该仓库,且可以正常推送代码。
恳请有人能指明解决方向。
内容的提问来源于stack exchange,提问作者William
相关产品推荐
相关产品推荐

