The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

TAGS
AUG Leaders

Atlassian Community Events