SourceTree BitBucket login fails with SSH and 2FA

I recently setup SSH and 2FA login for my BitBucket account. I then updated my credentials in BitBucket and everything was fine. However after restarting my Mac this morning when I try to get the list of my BitBucket repos, I get an error response with the message of what looks like a login failure page in HTML text.

I am still able to use SSH to fetch, pull and push repos individually, but swapping to the "Remove" tab seems to constantly throw this error.

Any help on this matter would be appreciated.

Thanks. laugh

1 answer

1 accepted

0 vote
Jeff Thomas Atlassian Team Jan 30, 2016

You're running into one of the known limitations of 2FA and SourceTree at the moment. Currently, SourceTree will use SSH to do most everything with Bitbucket except build a list of repositories. There is an open feature request here to allow application specific passwords, this would allow SourceTree to use that set of credentials and get the list of repositories. Until then, you'll need to manually add the repositories into SourceTree.

This is explained in a bit more detail on the Two-step verification documentation.

Thanks for letting me know about this. This is a shame, but I understand the reasons. Hope that the feature request gets accepted and implemented soon. smile

 

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published May 30, 2018 in Sourcetree

Tip from the team: configuring Git or Mercurial in Sourcetree

Supported Platforms macOS Windows To make using Sourcetree as simple yet powerful as possible we embed (bundle) dependencies such as Git, Git LFS, and Mercurial. We strive to keep these...

413 views 0 1
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