我正在使用Bitbucket,尝试克隆存储库的命令是:sudo git clone git@bitbucket.org:KassaK/mbf.git
但是我遇到了以下错误:
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
我到处寻找解决方案,但都没有好的结果。
我按照https://confluence.atlassian.com/bitbucket/set-up-ssh-for-git-728138079.html(到步骤)的说明操作,但仍然出现这个错误。
我尝试卸载并重新安装git,但问题依旧。
有什么建议吗?谢谢!
sudo
。 - sschuberth