sourcetree hosted repositories authentication error

i got a problem so i'll keep it short.

i enabled 2 factor authentication on bit bucket 
i added  a ssh key 
put the ssh key in the sourcetree settings 

edited my Bitbucket account to ssh in the  hosted repositories screen

after doing this i get a login failed on my screen with the error message  "forbidden" 

what actions can i take to fix this ?


3 answers

2 votes
Gary Sackett Atlassian Team Oct 06, 2015


Yes - Sourcetree currently does not support 2fa.


1 votes


Bitbucket Cloud now supports app specific passwords. You can configure a specific password for SourceTree in the Security section of your Bitbucket settings. At the moment, we do not support native 2FA in SourceTree. 

Thank you. 


is it possible that because i enabled 2 factor authentication that this feature isn't usable anymore ?

Suggest an answer

Log in or Join to answer
Community showcase
Brian Ganninger
Published Jan 23, 2018 in Sourcetree

Tip from the team: workflow and keyboard shortcuts

Supported Platforms macOS Sourcetree has a lot to offer and, like many developer tools, finding and using it all can be a challenge, especially for a new user. Everyone might not love ...

248 views 0 3
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot