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

0 votes
Answer accepted

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.



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:

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.


Suggest an answer

Log in or Sign up to answer
Community showcase
Published Oct 23, 2018 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...

1,224 views 4 2
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