Can't use SSH on port 22? Need to tunnel through a proxy server or get through a firewall and can't SSH directly?try this.
http://www.agroman.net/corkscrew/Download Corkscrew
http://www.agroman.net/corkscrew/corkscrew-2.0.tar.gzThis is one of the best http-tunnel programs and doesn't require server-side applications unlike httptunnel (which is otherwise very good).
Corkscrew works on almost every UNIX/Linux platform and even compiles and runs flawlessly under Cygwin on Windows.
Unpack and Compile corkscrew:
tar -xzvf corkscrew.tar.gz
# [..]
cd corkscrew
./configure
make install
corkscrew should now be installed in /usr/local/bin on your machine.
To put it somewhere else, use the --prefix=path flag to the configure script.
Add a ProxyCommand to your SSH config file:
You may or may not have a configuration file for SSH already. It should be located in $HOME/.ssh/config and is a simple text file. Create one if it does not exist and add lines such as these to it:
Host *
ProxyCommand corkscrew http-proxy.example.com 8080 %h %p
Replace http-proxy.example.com with the address of your proxy and you can also replace 8080 with the port on which the proxy listens, which may be 80 or even another port. The %h and %p will be replaced automatically by SSH with the actual destination host and port.
These lines tell the SSH client to start corkscrew and to make the actual connection to the SSH server. The Host * line indicates that this will be done for ALL hosts.
If you wish to restrict the hosts for which this will be done, you can put a limited form of regular expression there.
If you don't have corkscrew in your path or have put it in a non-standard location, you may specify an absolute path to corkscrew in that file as well.
try it like so.
That should be it, anything you can do with SSH you should now be able to do through the proxy server.