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

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

In SourceTree, the Accounts in "View--Options--Network" section are messed up Edited

My Git repositories on the corporate network rely on SSO and our passwords change very often. Usually, I was able to use the "Options-->Authentications" option in SourceTree to simply update my password.

However, with the recent update in 2.x, the user interface has changed for worse and I am unable to change my password. Even after I set the password, SourceTree says access denied for the repository under consideration even though I can connect to that repository just fine using git on command-line. I tried deleting all my accounts in SourceTree but it still keeps an account permanently in there despite clicking "Delete".  What is worse, SourceTree is NOT allowing me to configure SSH-based repositories.

I am at a point where I am considering moving away from SourceTree because of this problem. Ever since I upgraded to 2.x, the user interface has become extremely non-intuitive and frustrating.

How do I completely get rid of all my accounts in SourceTree and configure new ones that allow me to access the repositories on my corporate network using SSH. The user interfaces forces me to select between BitBucket and GitHub; neither of which apply in my case.

The specific error that I am seeing is (I have not  changed any configuration in SourceTree):

Access denied
FATAL ERROR: Server sent disconnect message
type 2 (protocol error):
"Too many authentication failures for MY_USER_NAME"

1 answer

0 votes
minnsey Atlassian Team Jun 22, 2017


Sounds like you are using SSH with a self hosted, or non Bitbucket/Github server, are you using SSH with keys or with username/password?

Thanks for the reponse Michael. Our repositories are hosted locally on a host on the Intranet and so is the user account (on Linux hosts) that is accessed only via SSH. I'm no security expert so pardon my lack of the use of proper terms.

I had configured SourceTree in the past to rely on Putty instead of OpenSSH because that was offered as the recommendation when installing SourceTree. I also remember having generated the public and private keys when installing SourceTree. I tried reimporting the keys to no avail to fix the problem. In the versions prior to 2.x, all I had to do was go to the Tools-->Options-->Authentication tab and update my password for the user account that was used for my repositories.

When I try to use the "Terminal" from within SourceTree and do a "git pull" or "git push", I am prompted for my password and upon entering the password, I am able to work. However, when using the Pull or Push from the SourceTree user interface, it throws the "Access Denied" errors.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Sourcetree

[dev team] Sourcetree for Windows 2019 Preview - Dark Theme

Hi folks, While the full post is over on our blog I'd like to share the dark theme we've got planned for 2019 here directly as well to keep the discussion going.  The ...

3,259 views 19 18
Join discussion

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