Permission denied (publickey). fatal: Could not read from remote repo

surendra madula
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 10, 2022

$ git fetch
\302\226git@bitbucket.org: Permission denied (publickey).
fatal: Could not read from remote repository.

 

1 answer

0 votes
Imran Jamal
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 10, 2022

Hi

I deleted the passwd file in C:\Users\YOUR_USER\AppData\Local\Atlassian\SourceTree and also deleted any passwords for Bitbucket in the Windows Credential manager (Control Panel\User Accounts\Credential Manager) -> Windows Credentials

Next, I also checed the repository settings in the repo where the error occurs (cog symbol in the top right of Sourcetree -> click "Edit" on the remote repository path.

(After changing to look like other repository URLs, I could fetch with no problems)

Hope this helps

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events