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

codingwork June 21, 2017

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
Atlassian Team members are employees working across the company in a wide variety of roles.
June 22, 2017

Hi

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?

codingwork June 22, 2017

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
TAGS
AUG Leaders

Atlassian Community Events