I've setup VS Code to connect via SSH to a remote IIS server. It setup using the key based authentication so that I don’t need to enter passwords when opening VS code and connecting.
If I'm logged in directly to the windows server via RDP, I can use the command line to do GIT commands fine because I've setup the Git Credential Manager and already have that setup.
The problem I'm having is when working in VS Code with my repository stored in Azure DevOps. When performing any GIT commands either from the terminal or from VS Code's interface I'm prompted for username/password credentials. If I provide the personal access token created originally then it will work. But I was thinking that since I'm SSH into the remote server that it would leverage the setup from the Git Credential Manager already done. I guess that’s not the case.
Anyone got any suggestions??? Thanks.
https://code.visualstudio.com/docs/remote/troubleshooting#_configuring-key-based-authentication https://code.visualstudio.com/docs/remote/ssh