Git Bash and Pageant are not using keys
<p>I've got Git for Windows (configured for MinTTY and <code>PuTTY\plink.exe</code>) 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:</p>

<pre><code>Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
</code></pre>

<p>When I run the suggested <code>ssh -v hg@bitbucket.org</code> it uses <code>id_rsa</code> but none of my other keys in <code>~/.ssh</code>. Trying to use <code>ssh-add ~/.ssh/bitbucket_rsa</code> results in:</p>

<pre><code>Could not open a connection to your authentication agent.
</code></pre>

<p>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.</p>

<p>I've run <code>ps</code> to check which applications were running, and <code>ssh-agent</code> was not among them. Running <code>eval 'ssh-agent'</code> starts the daemon, but it makes no difference.</p>