Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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 want to connect ssh with http proxy. It is because I can't directly connect to my server.
but I can connect to the http proxy. I see that -o command argument with ProxyCommand might be able to do this.
Can you give me an example to use -o? for example, the http proxy is port 80.

ssh -v -o {the configuration I want. maybe contains myhost:80} -p 443 myname@myserver
share|improve this question
up vote 0 down vote accepted

You'll need to download corkscrew on your local client

$ ssh -o ProxyCommand='corkscrew proxyserver proxyport sshserver sshport’ user@sshserver
share|improve this answer
Thank you, this is definitely what I want. Thank you, once again. – user3503272 May 10 '14 at 0:03

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.