How to tunneling SSH through HTTP proxies (using corkscrew)

  • corkscrew/corkscrew@ubuntu is a tool for tunneling SSH through HTTP proxies.
    To open the connection to the server running the SSH daemon we will use the HTTP CONNECT method which allows a client to connect to a server through an HTTP proxy by sending an HTTP CONNECT request to this proxy.
# install
$ sudo yum install corkscrew (Fedora Rawhide) | sudo apt-get install corkscrew

$ cat ~/.ssh/config
ProxyCommand corkscrew http-proxy.example.com 8080 %h %p

# authenticated proxy connections
$ cat ~/.ssh/config
ProxyCommand corkscrew http-proxy.example.com 8080 %h %p ~/.ssh/proxyauth
$ cat ~/.ssh/proxyauth
username:passwd

# same but using putty, see http://www.howopensource.com/2014/10/creare-secure-communication-putty/

from Tunneling SSH through HTTP proxies using HTTP Connect

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s