title: Atlassian Bitbucket - ssh - git pull works, git push fails
body: <p><strong>1. Summarize the problem</strong></p>
  
  <p>I followed Bitbucket's instructions on setting up ssh.</p>
  
  <p>I have a pub/priv key pair, and the pub key pasted into Bitbucket settings (Access Keys) for the project.</p>
  
  <p>I have a build server on a GCE VM.  <code>git clone</code> worked successfully, and <code>git pull origin master</code> works.  I am using a passphrase.</p>
  
  <p>However if I make a small change on a single file, <code>git commit</code> on the GCE VM, and do <code>git push origin master</code>, it fails with the following error message.</p>
  
  <pre><code>Enter passphrase for key '/home/proc/.ssh/id_rsa':
  Unauthorized
  fatal: Could not read from remote repository.
  
  Please make sure you have the correct access rights
  and the repository exists.
  </code></pre>
  
  <p><code>git remote -v</code>
  shows</p>
  
  <pre><code>origin  git@bitbucket.org:&lt;my-account&gt;/&lt;my-repo&gt;.git (fetch)
  origin  git@bitbucket.org:&lt;my-account&gt;/&lt;my-repo&gt;.git (push)
  </code></pre>
  
  <p>If <code>git pull origin master</code> works OK, then ssh is setup properly.</p>
  
  <p>I added the followingfile: <code>$HOME/.ssh/.config</code>, with the contents below, but it did not help.</p>
  
  <pre><code>Host bitbucket.org
   IdentityFile ~/.ssh/id_rsa
  </code></pre>
  
  <p>my keyfile was generated with the following:
  <code>ssh-keygen -t rsa -b 4096 -C "&lt;comment&gt;"</code></p>
  
  <p><strong>2. Provide background including what you've already tried</strong></p>
  
  <p>I have every stack overflow article on Bitbucket auth issues.</p>
  
  <p><strong>3. Show some code</strong></p>
  
  <p><code>git add &lt;changed file&gt;</code></p>
  
  <p><code>git commit -m "made some updates"</code></p>
  
  <p><code>git push origin master</code></p>
  
  <p><strong>4.  Describe expected actual results including any error messages</strong></p>
  
  <p>I am trying to <code>git push origin master</code> to bitbucket.</p>