Corkscrew is a simple utility to help tunnel SSH connections through
web proxies.
Add the following line to your ~/.ssh/config file (replacing HOST and
PORT with your web proxy settings):
ProxyCommand /usr/local/bin/corkscrew HOST PORT %h %p
WWW: http://www.agroman.net/corkscrew/