Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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

Sourcetree keeps asking password after installing version 2.6.3

it's a nightmare, it had happened to me before.

it just keeps asking for password if I try to push. I tried both SSH and HTTPS.

I checked that my KEYs are generated and are added to bitbucket. (they already were). it just doesn't work... I don't know what to do.

also when the popup appears, the checkbox "store password in keychain" is checked but does nothing.

1 answer

1 accepted

1 vote
Answer accepted
Manju Atlassian Team Nov 15, 2017

If using ssh, can you please check if the keys are added to the agent?

You can run below command to check for keys in agent,

ssh-add -l


If you don't find your keys listed, please add them using below command,

ssh-add <path_to_key>

thanks, I have just tried that, but I get error:

Error loading key "/Users/myusername/.ssh/": invalid format

any suggestions?

(by the way, the result of ssh-add -l was, indeed "The agent has no identities", so I guess the problem is identified now)

Manju Atlassian Team Nov 16, 2017

You should try this,

ssh-add ~/.ssh/myusername-Bitbucket

oh brilliant!

that worked!! thanks a lot...


I still have a problem, I'm afraid...

when I add the identity, it works. But the next day when I open my computer again, it is missing again. So I have to do this every day... isn't there a way to make this "permanent"?

and also, SourceTree keeps poping up the "password required" message, which is very annoying. I close it and it just appears again...

Manju Atlassian Team Nov 30, 2017


This is what Apple suggest to make it permanent -

This hasn't worked for me personally. But, I would recommend you try this to see if it works for you. 


Sourcetree Developer

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

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