title: Make sure Maven sees SSH key
body: <p>I have the following configuration in Maven:</p>
  
  <pre><code>&lt;scm&gt;
      &lt;connection&gt;scm:git:ssh://git@my-repo.com:7999/my-project.git&lt;/connection&gt;
      &lt;developerConnection&gt;scm:git:ssh://git@my-repo.com:7999/wrap/my-project.git&lt;/developerConnection&gt;
      &lt;tag&gt;HEAD&lt;/tag&gt;
  &lt;/scm&gt;
  </code></pre>
  
  <p>My SSH key that I am sharing with the Bitbucket server is in:</p>
  
  <pre><code>C:\Users\my-user\.ssh\
  </code></pre>
  
  <p>Where I have two files: <code>id_rsa</code> and <code>id_rsa.pub</code>.</p>
  
  <p>I'm not sure if Maven sees my SSH configuration, because when preparing a release, I get:</p>
  
  <pre><code>Unable to tag SCM
  [ERROR] Provider message:
  [ERROR] The git-push command failed.
  [ERROR] Command output:
  [ERROR] Permission denied (publickey).
  [ERROR] fatal: Could not read from remote repository.
  </code></pre>
  
  <p>How could I test that the Maven configuration does see my server key from <code>id_rsa.pub</code>?</p>