Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Sourcetree Terminal Issues with permission denied public key

Peter Philips
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!
May 31, 2022

Hi all,

I've set up SSH key authentication via putty and through bitbucket. When I try and clone through remote repositories, it seems to work fine.

HOWEVER, when I try to use the terminal to run certain scripts for cloning repos (such as:
git clone git@bitbucket.org:REPOSITORYORGANISATION/REPOSITORYNAME.git) I constantly run into this error:
"git@bitbucket.org: Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
"

Which is weird as I can view the separate repos on bitbucket without issue. Please help!

Note: Am using Windows

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events