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

By on December 17, 2010

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.
  • Pingback: Tweets that mention Port 22 blocked? Can’t use SSH? No problem. – Bitbucket -- Topsy.com

  • http://twitter.com/denilsonsa Denilson Su00e1

    I checked HAProxy website, and it says that it does not support SSL.nnI’m confused… How do you use HAProxy together with SSL and HTTPS?

    • http://www.arandomblog.co.cc/ tuxme2

      It’s not using SSL, it’s just running on the port.

  • http://twitter.com/denilsonsa Denilson Sá

    I checked HAProxy website, and it says that it does not support SSL.

    I’m confused… How do you use HAProxy together with SSL and HTTPS?

    • http://www.arandomblog.co.cc/ tuxme2

      It’s not using SSL, it’s just running on the port.

  • http://paulm.us/ Paul McLanahan

    This. Is. Awesome! I don’t have the need anymore, but did work at a place that blocked 22. This would have come in very handy, and I’m sure it will for many of my former coworkers. Thanks!

  • http://paulm.us/ Paul McLanahan

    This. Is. Awesome! I don’t have the need anymore, but did work at a place that blocked 22. This would have come in very handy, and I’m sure it will for many of my former coworkers. Thanks!

  • Shrawan Patel

    This post excellently highlights what the author is trying to communicate. Nonetheless, the article has been framed excellently well and all credits to the author. For more information on how to load balance your web servers, please visit ..nhttp://serverloadbalancing.biz/wordpressbiz/, nhttp://serverloadbalancing.info/wordpressinfo/

  • Gordon Schulz

    Very nice, well implemented from what I could test so far. Appreciate the ongoing work.

  • av

    this is awesome and useful!

    Thanks

  • Niko

    this is great tool with awesome features!

    but, please improve your wysiwym editor and markdown parser :)