I want to reference a private GitHub repo in my project. I'm trying commands like:
npm i git+ssh://[email protected]/<myusername>/<myprivaterepo>.git
However it seems to not notice that I have SSH keys already configured on my (Windows 11) system. I can happily clone the repo, but executing the above command instead prompts me to sign in to GitHub:
According to my searches online, this should work without additional authentication. For example, this article explains how to set this up - I can skip steps 2 and 3 as my SSH key already works (verified with ssh -T [email protected]), but I still get a prompt, and I don't want to add unnecessary additional access to my GitHub account where it isn't technically needed.
Does anyone know why I am getting this prompt?
