Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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

share|improve this question
1  
Related: Is it possible to SSH through port 80? –  jokerdino Nov 15 '12 at 2:29
add comment

2 Answers

Apparently! With corkscrew.

sudo apt-get install corkscrew

And edit ~/.ssh/config

Host *.launchpad.net
   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
add comment

Pulls seem to work with this syntax:

bzr pull http://bazaar.launchpad.net:80/~ubuntu-branches/ubuntu/raring/gnome-control-center/raring/

Pushes fail with this error:

bzr: ERROR: Cannot lock LockDir(http://bazaar.launchpad.net:80/~ubuntu-branches/ubuntu/raring/gnome-control-center/raring/.bzr/branch/lock): Transport operation not possible: http does not support mkdir()

share|improve this answer
2  
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
add comment

Your Answer

 
discard

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.