Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
badges earned

Your Points Tracker
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

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

Continually getting Authentication Failed in Sourcetree for the Mac Edited

I have the latest version, and in preferences when I hit the connect button I'm prompted for login and that all works fine. But when I commit I get the error below. It worked yesterday but now it's stopped working. I also had a lot of problems with the keychain and sourcetree as well. The mac version sure seems buggy to me when it comes to credentials. I'm not using a 3rd party, I'm just logging in direct:


remote: Invalid username or password. If you log in via a third party service you must ensure you have an account password set in your account profile.

fatal: Authentication failed for 

Has anyone else had this problem? Do you know what might be going on? Is this the only way to get support for Sourcetree? Seems like it.

1 answer

0 votes
Manju Atlassian Team Jan 25, 2018

We've had some report of this and got a fix in the latest beta. Would you mind trying that and share your feedback?

You can download the latest beta build here -


Thanks. I've gotten it to work by switching to https. I'm on a critical timeline right now and can't afford any more issues, so I'd prefer not to install a beta. If this problem appears again I'll give the beta a try.


Thank you,


Manju Atlassian Team Jan 29, 2018

On a related note, the issues were from using ssh, I recommend you check the ssh agent to see if the keys are loaded and add them if they are not.

List keys

ssh-add -l

Add key

ssh-add <path_to_key>


ssh-add ~/.ssh/id_rsa 
Like Oleg Shipulin likes this

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...

3,265 views 4 5
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