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 vote


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 Sign up to answer
Community showcase
Published Oct 23, 2018 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...

1,112 views 4 2
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