Carreguei o meu ~/.ssh/id_rsa.pubpara as chaves SSH do bitbucket como explicou , mas Git ainda me pede minha senha em cada operação (como git pull). Perdi alguma coisa?
É um repositório privado (fork do repositório privado de outra pessoa) e eu o clonei assim:
git clone git@bitbucket.org:Nicolas_Raoul/therepo.git
Aqui está o meu local .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
No mesmo ambiente com a mesma chave pública, o Git no Github funciona bem.
.sshé rwx------, .ssh/id_rsaé -rw-------, .ssh/id_rsa.pubé-rw-r--r--
.git/configporgit@bitbucket.org:Nicolas_Raoul/therepo.gite agora funciona!