title: IntelliJ IDEA git Permission denied (publickey)
body: <p>I got a strange problem with using git on IntelliJ IDEA on Windows 10.
  If I want to access the remote repo on GitLab, I always get
  <a href="http://i.stack.imgur.com/dEPMK.png" rel="noreferrer">Permission denied (publickey)</a>.
  Everything I found here or via Google didn't solve the problem.
  I tried:</p>
  
  <ol>
  <li>Setting the ssh executable to Native</li>
  <li>Converting my public key from Putty to ssh-keygen style</li>
  <li>Removing known_hosts</li>
  </ol>
  
  <p>I also tried to access the repo with <a href="https://git-for-windows.github.io/" rel="noreferrer">Git Bash</a>, it works fine like that. 
  Another interesting fact is that after removing known_hosts, I got "Host key verification failed". I had to use Git Bash once to recreate the known_hosts entry, after that I got the Permission denied error again. Somehow I don't get asked for any user input.</p>