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 8080 %h %p

# authenticated proxy connections
$ cat ~/.ssh/config
ProxyCommand corkscrew 8080 %h %p ~/.ssh/proxyauth
$ cat ~/.ssh/proxyauth

# same but using putty, see

from Tunneling SSH through HTTP proxies using HTTP Connect


Leave a Reply

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

You are commenting using your 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