12
Bitbucket上的Git:即使上传了我的公共SSH密钥,也总是要求输入密码
我已按照说明~/.ssh/id_rsa.pub将我上传到Bitbucket的SSH密钥,但是Git在每次操作(例如)时仍要求我提供密码。我错过了什么?git pull 它是一个私有存储库(另一个人的私有存储库的叉子),我这样克隆它: git clone git@bitbucket.org:Nicolas_Raoul/therepo.git 这是我的本地人.git/config: [core] repositoryformatversion = 0 filemode = true bare = false logallrefupdates = true [remote "origin"] fetch = +refs/heads/*:refs/remotes/origin/* url = https://Nicolas_Raoul@bitbucket.org/Nicolas_Raoul/therepo.git [branch "master"] remote = origin merge = refs/heads/master 在具有相同公钥的相同环境中,Github上的Git可以正常工作。 .ssh是rwx------,.ssh/id_rsa是-rw-------,.ssh/id_rsa.pub是-rw-r--r--