SourceTree 2.0/Win and Mercurial fails with ssh remotes Edited

We had a Windows 7 developer using SourceTree 1.9.x with a Mercurial repository.    Commits were pushed and pulled to a repo on a linux box on our local network via ssh:

   ssh://linuxbox//path/to/repo

This worked fine, SourceTree 1.9.x had saved username/password info however it does.  When they updated to SourceTree 2.0.20.1, the ssh remotes on the linux box stopped working.  We'd get a repeated "Windows Security" dialog for "Git Credential Manager for Windows" / "Enter your credentials for https://linuxbox/"  and username and password, but entering the proper values just keep cycling through the same dialog. 

Checking some details after cancelling showed "Error reading SSH_ASKPASS output for prompt: Unsupported prompt"
[login as: ]@linuxbox's password
abort: no suitable response from remote hg!

I'm an OSX person myself, and I'm  not clear if the GCM usage is new to 2.0, or changed, or exactly how it interacts with Mercurial and SSH.  The "General/SSH Client" preference is PuTTY/Plink, as it was under 1.9 (we have PuTTY 0.6.9), but I think Mercurial always uses PuTTY anyway?   For the remote, we have a debian running mercurial 3.1.2 and ubuntu with mercurial 3.7.3, and SourceTree is using embeded Mercurial 3.7.3.

Reverting to SourceTree 1.9.9 and everything works fine again!  I did a very tiny test with embedded Git and 2.0.20.1, and it seems to get past the ssh connection properly, the problems seems limited to 2.0+Mercurial+ssh.  The dialog saying "Enter your credentials for https://linuxbox/" seems odd, but I'm guessing it is a cosmetic thing and not actually using the wrong protocol.  Any suggestions would be most welcome.

1 answer

This widget could not be displayed.

Hi!

I've contacted our developers regarding this issue and have submitted a bug report on your behalf, you can find it at SRCTREEWIN-7269. You can now watch that ticket to get notified of further updates, or add a comment if you have any question.

Is there anything else I can help you with?

Cheers :)

Ana

Suggest an answer

Log in or Sign up to answer
Community showcase
Published May 30, 2018 in Sourcetree

Tip from the team: configuring Git or Mercurial in Sourcetree

Supported Platforms macOS Windows To make using Sourcetree as simple yet powerful as possible we embed (bundle) dependencies such as Git, Git LFS, and Mercurial. We strive to keep these...

858 views 2 3
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you