説明どおり~/.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--
.git/configとgit@bitbucket.org:Nicolas_Raoul/therepo.git、今では動作します!