You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

使用非默认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

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.06.22 18:34:49