克隆bitbucket repo到本地机器失败

时间:2014-08-18 07:58:12

标签: git ssh terminal bitbucket

我试图从bitbucket克隆我的存储库:

git clone git@bitbucket.org:myname/mynamerepo.git

并收到错误:

Cloning into 'folder_name'...
conq: repository access denied. deployment key is not associated with 
the requested repository.
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

问题发生在我在笔记本电脑上安装了新的干净mac os之后。生成新的ssh密钥并将其添加到bitbucket ssh密钥但仍然没有运气。

帮助?

2 个答案:

答案 0 :(得分:1)

也许this可以帮到你。通过运行“ssh -v git@bitbucket.org”仔细检查您的客户提供的密钥是否与您的帐户相关联。

答案 1 :(得分:1)

重新启动系统并生成新密钥有帮助: - /