I have connected Source Tree (2.7.152) to BitBucket but since most recent update I have authentication issues. Each time when I try to pull or to push is telling me that credentials are invalid because of third party software and I need to go to Preferences -> Accounts and re-authenticate my account again.
Any clue what is going on?
Looks like this is the same ssh issue which many folks are facing.
Please check if your ssh keys are added to the agent by running below command in terminal
If none are listed, please add the key to the agent using below command,
This should fix your problems.
If you want to learn more about why this happens and how to fix this permanently, read this Technical Note from Apple
POS F'ing Sourcetree. This happens with almost every update. Everything is/has been fine, install the latest update, all of my authentications fail, constantly have to enter username/password. Here's a great tip that I just found: Don't use Sourcetree. Switch to command line (which I'm still not a fan of) or GitKraken. 0% issues. I hate you, Sourcetree. POS. Gone.
I fixed this by deleting the whole Sourcetree folder in Library/application support/sourcetree and re-installing. Prior to that I had changed my password, which didn't work, but maybe it had an effect (in case someone tries this, and the first step doesn't solve it by itself).
This was on Sourcetree 2.7 on Mac OS Sierra.
Pushing to https://firstname.lastname@example.org/mydev/repo.git
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 'https://email@example.com/mydev/repo.git/'
Completed with errors, see above
Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...
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