Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to pull from and push to bazaar branches hosted at but my internet provider is blocking port 22. Is it possible to use port 80 or 443 instead?

share|improve this question
Related: Is it possible to SSH through port 80? – jokerdino Nov 15 '12 at 2:29
@jokerdino I think your answer is the best. It's not exactly a duplicate though, because someone might not realize that they need to run ssh through a different port to use bzr. So it's a discoverability problem. – Jeremy Bicha Jun 18 at 20:27

Apparently! With corkscrew.

sudo apt-get install corkscrew

And edit ~/.ssh/config

Host *
   ProxyCommand corkscrew <proxy> <port> %h %p
   User <your launchpad account name>

Obviously sub out all the <fields> but after that any ssh command (including bzr+ssh commands) should use your proxy. I'm certain some proxies will not allow this but there are enough people suggesting this to hint that this might work for you.

Edit: Re-reading your question, I suspect there's every possibility where there's no proxy in place, or at least if there is, it's transparent and not something you can declare, as this requires you do.

In that case, you may need to fall back on an external proxy. If you have your own server, installing tinyproxy or another proxy solution (even mod_proxy in Apache) on it. As long as it's not a million miles away from you, it shouldn't add too much lag and remember, this only applies to SSH to launchpad.

I you continue to get gyp from shoddy ISPs, cut them out completely. Most ISPs support VPN connections and do nothing to interfere with them because people require them for work. If you can VPN into a better network, you can do whatever you like.

share|improve this answer

Pulls seem to work with this syntax:

bzr pull

Pushes fail with this error:

bzr: ERROR: Cannot lock LockDir( Transport operation not possible: http does not support mkdir()

share|improve this answer
write operations aren't supported over http/https. There is a webdav plugin which enables them, but launchpad doesn't support webdav. – jelmer Feb 17 '13 at 15:32

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.