Sourcetree: allow Stash Hosted Projects to use SSH

We have set up Stash and Sourcetree. When adding Stash as an account in Sourcetree, it will always use "HTTPS" as protocol.

However, our stash still runs over HTTP. I'd like to use SSH for projects. Although we will later switch HTTP to HTTPS, I still feel better if we could use SSH.

Of course it is possible by cloning the project ourselves or by clicking the link in Stash, but I like the hosted projects feature.

Is it possible to let change the prefered protocol in Sourcetree?

1 answer

1 accepted

This widget could not be displayed.

Hi Nicky,

Unfortunately not at the moment. This is mostly Stash's fault as we never exposed the SSH Clone URL from our REST, and so Sourcetree had no way of providing the option. Please watch/vote for the following.

https://jira.atlassian.com/browse/SRCTREE-2072

Cheers,

Charles

Will that issue also cover getting support added for the Windows SourceTree client? (I ask as the project the issue is logged against is specifically "SourceTree for Mac".)

According to my understanding of Charles' explanation, it shouldn't be logged against SourceTree at all, but against Stash.

Hi Seth,

Both Stash and SourceTree need to be updated. We've updated Stash 2.11 to include this information:

https://jira.atlassian.com/browse/STASH-3160

SourceTree now need to make use of it. Hopefully for both the Mac and Windows versions. Simon you may want to leave a comment on that issue though.

Charles

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

883 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