Wednesday, March 27, 2024

Problems accessing Git Repo with SSH key using Tortoise Git

 I had suffered for few days of the Access denied Problem when trying to access my Repository through Tortoise Git. I could clone repositories fine with VSCode and update them without problems, but using Tortoise Git I had always the access denied Problem.

after searching a lot on the web, the only solution that worked for me was to change the SSH client used by Tortoise Git, to the same client used by the System Git it self, which in my case was in :C:\Program Files\Git\usr\bin\ssh.exe,

in your case it may be different, or you could use C:\Windows\System32\OpenSSH\ssh.exe

the full thread on stackoverflow is at https://stackoverflow.com/questions/13516119/tortoisegit-with-openssh-key-not-authenticating-using-ssh-agent

No comments:

Post a Comment