Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Is there a way that I can force Sourcetree to obtain the PublicKey provided on my Atlassian account?

I am trying to add my atlassian account in SourceTree. It has enforced SSH. For some reason, I am getting Public Key denied message. Could someone help?

2 answers

1 accepted

0 votes
Answer accepted

Thx Michael.. Firstly I am on Mac.

Yes, the one on my machine is different to what I have on Bitbucket. I got locked out from Bitbucket hence unable to change the one there. So looking for a way around. 

minnsey Atlassian Team Nov 07, 2018


I don't believe there is a way apart from getting access back into your bitbucket account directly through the bitbucket web ui.

I had to open a brand new account to start as new user. Could not access bitbucket account.

0 votes
minnsey Atlassian Team Oct 22, 2018


In Sourcetree for Windows the SSH keys are managed using PuTTY/Pagaent or openSSH. Are your keys loading correctly into the manager you have chosen?

Is there any chance they key you are loading locally is not the same key you saved into Bitbucket?

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Sourcetree

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

7,218 views 5 14
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you