I've got Git for Windows (configured for MinTTY and PuTTY\plink.exe
) and PuTTY installed, and I am trying to get it to work with a Bitbucket repository. I've got my SSH key loaded, in Pageant and on the website, and yet whenever I attempt to do anything that requires pulling/pushing:
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
When I run the suggested ssh -v hg@bitbucket.org
it uses id_rsa
but none of my other keys in ~/.ssh
. Trying to use ssh-add ~/.ssh/bitbucket_rsa
results in:
Could not open a connection to your authentication agent.
I've read about configuring PuTTY to allow forwarding, but that's usually where the advice ends, so I just set this option for the default session and saved it there.
I've run ps
to check which applications were running, and ssh-agent
was not among them. Running eval 'ssh-agent'
starts the daemon, but it makes no difference.