Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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 myhost.com port 80.

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

1 Answer 1

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 at 0:03

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.