title: Pushing commits to an SSH-cloned repo via VS Code on WSL returns "Host key verification failed" - it's ok on HTTPS
body: <p>I'm on a Windows 10 machine and I have both Git Bash and Ubuntu for Windows Subsystem for Linux (WSL) installed. When I use GitHub's official desktop app to clone a repo via HTTPS everything works fine and I can push my commits via Visual Studio Code with no problems whatsoever. I then try to clone a repo via SSH with Hyper (WSL Bash) and get this:</p>
  
  <pre><code>The authenticity of host 'domain.com (a.b.c.d)' can't be established.
  RSA key fingerprint is XX:XX:...:XX.
  Are you sure you want to continue connecting (yes/no)?
  </code></pre>
  
  <p>After answering yes and openning that repo in VS Code and try to push my new changes to GitHub, I get this error:
  <a href="https://i.stack.imgur.com/WlfKJ.png" rel="nofollow noreferrer">Git: Host key verification failed.</a></p>
  
  <p>And this is what I get as Git Log in Output:
  <a href="https://i.stack.imgur.com/Icm1e.png" rel="nofollow noreferrer">Host key verification failed.
  fatal: Could not read from remote repository.</a></p>
  
  <p>I have set up my SSH key on WSL using <a href="https://devblogs.microsoft.com/commandline/sharing-ssh-keys-between-windows-and-wsl-2/" rel="nofollow noreferrer">this method</a> and I didn't set up any passphrase. I tried this on my brother's PC which is exactly set up like mine and it worked just fine. I would appreciate any help!</p>
  
  <p><strong>UPDATE:</strong> I typed <code>ssh -T git@github.com</code> in Hyper and got this as an answer: <code>You've successfully authenticated, but GitHub does not provide shell access.</code></p>
  
  <p><strong>P.S.</strong> I'm a newbie in programming and stackoverflow, so please be concise and give me step by step instructions. The more you use technical terms, the more I'll probably get lost!</p>