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

Sourcetree - password rejection on push/pull

hairydalek May 11, 2018

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.

1 answer

0 votes
Manju
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 15, 2018

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.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events