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

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 Join to answer
Community showcase
Brian Ganninger
Published Jan 23, 2018 in Sourcetree

Tip from the team: workflow and keyboard shortcuts

Supported Platforms macOS Sourcetree has a lot to offer and, like many developer tools, finding and using it all can be a challenge, especially for a new user. Everyone might not love ...

246 views 0 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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot