title: git for windows ssh credentials not working for gitlab
body: <p><strong>The situation:</strong></p>
  <p>Existing user/repository/git remote server, setting up environment on a new pc using git for windows.</p>
  <p><strong>The problem:</strong></p>
  <p>When I try to do basic git commands in git bash that require access permissions, I get the prompt:</p>
  <pre><code>git@gitlab.local's password:
  </code></pre>
  <p>Which in my experience means that the SSH connection using RSA key isn't set up correctly.</p>
  <p><strong>Steps I already took:</strong></p>
  <ol>
  <li>I made sure user.name and user.email are correctly set in git config
  and verified using &quot;git config --global --list&quot;</li>
  <li>I tried re-generating a ssh_key running  and adding to gitlab. then saved it to another file (not the default id_rsa). then
  added using the steps :     <code>eval &quot;$(ssh-agent -s)&quot;&amp;ssh-add ~/.ssh/id_rsa_new</code><br />
  Which got successful  &quot;Identity added: &quot;</li>
  </ol>
  <p>Manually adding credentials is problematic security wise so I rather not go there.</p>
  <p>I've done this setup process many times and am baffled what could be the cause for the SSH connection not working seamlessly.</p>