Port 22 blocked? Can't use SSH? No problem.

Please note that we discontinued SSH on port 443 on June 15, 2011 after upgrading HAProxy and integrating with Stunnel. Please contact us if you’re still interested in this service and we’ll consider bringing it back.

Some of you out there are missing out on the awesomeness of using Mercurial over SSH, due to your university/workplace blocking port 22. With the recent introduction of HAProxy, which has protocol-level inspection of traffic, we now have the luxury of configuring a commonly open port to support SSH as well as what it was intended for.

So we’re doing that on port 443, aka SSL/HTTPS. What organization would possibly block that? 😉

It works:

[cantor/jnoehr] /tmp > hg clone ssh://hg@bitbucket.org:443/jespern/django-piston -v
running ssh hg@bitbucket.org -p 443 “hg -R jespern/django-piston serve –stdio”
destination directory: django-piston
requesting all changes
adding changesets
adding manifests
adding file changes
added 279 changesets with 479 changes to 74 files
updating to branch default
And there you have it. SSH support over port 443.