मैं अपने अपलोड ~/.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
एक ही सार्वजनिक कुंजी के साथ एक ही वातावरण में, गिट पर गीथ ठीक काम करता है।
.sshहै rwx------, .ssh/id_rsaहै -rw-------, .ssh/id_rsa.pubहै-rw-r--r--
.git/configइसमें बदल दियाgit@bitbucket.org:Nicolas_Raoul/therepo.gitऔर अब यह काम करता है!