Git push fails with public key when using SSH and specifying credentials
<p>I have a weird issue here. Our Maven release plugin fails because it can't push a tag to Git. The following fails:</p>

<pre><code>git push ssh://PU0S:xL8q@git-eim.fg.com/u0r0-SS/workspace-proxy.git workspace-proxy-server-1.10.1
[ERROR] Permission denied (publickey).
[ERROR] fatal: Could not read from remote repository.
[ERROR] 
[ERROR] Please make sure you have the correct access rights
[ERROR] and the repository exists.
</code></pre>

<p>If I remote into the machine and try pushing with an URL of the form I get the same error:</p>

<pre><code>git push ssh://PU0S:xL8q@git-eim.fg.com/u0r0-SS/workspace-proxy.git
</code></pre>

<p>If I just push using the defined remote, it succeeds:</p>

<pre><code>git push origin master
</code></pre>

<p>The above makes me certain that the <code>.ssh</code> keys are available on the machine.  Why does the first form fail?</p>