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

Cannot connect to remote repositories

I have a user who has three remote repositories set up and working. We have recently changed her username, and since then, she cannot create any new remote repositories. 

When she clicks on the new tab and selects "remote", the connection shows with a red cross and does not connect, even though when editing her "hosting account", the authentication shows as OK - green tick.

I suspect this is permissions at the remote end (bitbucket). 

Please assist!

1 answer

0 votes
Mike Corsaro Atlassian Team May 15, 2019

Hello! As a work around the user should be able to also create the repository in Bitbucket itself, and then manually clone the repository using the URL in Sourcetree.


Could you try the following?

  • Have the user remove all credentials from Sourcetree (Tools > Options > Authentication). Make sure the entries under "Git Saved Passwords" are also removed
  • Restart Sourcetree, and have the user re-add their account


Additionally, this scenario can be completely avoided in the future by using SSH keys for authentication rather than username and password. You can find instructions for doing that here.

Hi Mike. 

Thanks very much for your reply! I have asked the users to do this and they report that they are still having the issue. 

I have uploaded a screenshot to try and explain the issue further.

Kind regards,



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

7,219 views 5 14
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