I am getting this error when using Sourcetree to push/pull from Bitbucket. The erros message is:
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 '<project path>'
I have updated the password in Sourcetree. I am able to log in to Bitbucket using Safari, so it’s not the password that’s a problem.
Running Sourcetree 2.7.3 on Mac OS X 10.13.4
This problem started last night, on both machines that I use.
If you are using ssh, please check if the ssh-agent has your keys loaded. If not, please add them to the agent.
Run below commands in terminal to do so,
To check if keys are loaded:
ssh-add -l
To add keys to agent:
ssh-add <path_to_key>
more like,
ssh-add ~/.ssh/id_rsa
Key in the passphrase used while generating the ssh key and you should be good to go.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.