Reputation: 77
I'm having a curious problem where pushing/pulling my bitbucket repository using SourceTree works, but I get a permission denied error when using VS2019, .
I checked that the repository repository name & path, login username & email are the same for both SourceTree and VS2019. I'm using Pageant for ssh authentication.
Any clues why I'm getting the error only in VS2019?
Upvotes: 1
Views: 439
Reputation: 1326554
Check first if, as in here, you need to add the server's key to PuTTY's storage, or to upgrade Git for Windows. And make sure to set a Windows User environment variable to GIT_SSH=C:\Program Files\PuTTY\plink.exe
.
But the alternative is to use a plain openSSH key, as I described here.
Upvotes: 2