Git Clone speed: ssh vs http

My stash admins have installed a version of stash that supports ssh, so I consider using ssh for clone/push/pull/... instead of http -- for development, not just CI.

Using SourceTree (v1.8.1, if it matters) on OSX Mavericks, which protocol should be faster -- http or ssh? Initial clone is relatively rare, so the main factor is the speed of pull/fetch/checkout and push.

1 answer

1 accepted

1 vote

Hi Noam,

It's unlikely that there is a significant speed difference between SSH and HTTPS. Both transports send the same data over the wire and perform SSL encryption. Depending on how Stash has been set up, the SSL encryption for HTTPS could be performed by a reverse proxy (Apache/Nginx) which would reduce the load on the Stash server and could translate is slightly better performance over HTTPS than you'd get over SSH, but it's hard to say.

If you're feeling like experimenting, you can set up two remotes for your repository and see which one works best for you.

Hope that helps,


Actually, since this in inside the intranet, they use plain http. I suppose it means that in this setup http is likely to be faster.

Suggest an answer

Log in or Join to answer
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

692 views 0 4
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