Corkscrew is a tool for tunneling SSH through HTTP proxies. It’s developed by Pat Padgett and can be downloaded at:

Corkscrew installation in Linux (RHEL/CentOS/Fedora/Oracle):

1. Download corkscrew-2.0.tar.gz and extract:
$ tar -xvf corkscrew-2.0.tar.gz

2. Go to the corkscrew-2.0 directory and execute configure:
$ cd corkscrew-2.0
$ ./configure

3. Compile:
$ make

4. su to root and install the program.
By default, it will install it in usr/local/bin
# make install

5. Create a file name config under the .ssh directory in your home directory and change the permision to 600:
$ vi $HOME/.ssh/config
$ chmod 600 $HOME/.ssh/config

6. The config file will contain the ProxyCommand with the following syntax:
ProxyCommand /Path/corkscrew 80 %h %p

Example of config file with two external domains:
ProxyCommand /usr/local/bin/corkscrew 80 %h %p

ProxyCommand /usr/local/bin/corkscrew 80 %h %p

7. To use, just ssh to the external domain:
$ ssh