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

Sourcetree for Windows - CVE-2019-11582 - Remote Code Execution vulnerability

A vulnerability has been published today in regards to Sourcetree for Windows.  The goal of this article is to give you a summary of information we have gathered from Atlassian Community as a st...

4,989 views 0 12
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