Problem:
Unable to use the source control feature on VS Code due to authentication problems
Setup:
Editing on a Windows Laptop then remoting into a linux server via VS Code's SSH extension. The Git repo is setup on the linux server. I'm able to push/pull/etc. via the command line to the repo, but the source control feature fails. The following error arises:
Permission denied, please try again.
Permission denied, please try again.
git@[company gitlab domain]: Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).
fatal: Could not read from remote repository.
I've tried to regenerate the SSH keys and that did not solve the problem. The credentials in windows are set correctly as well.