ssh tunnel thru http proxy
install corkscrew : sudo apt-get install corkscrew (under ubuntu/debian)
edit your ~/.ssh/config file:
Host *
ProxyCommand corkscrew proxy.server.com 3128 %h %p
Where 3128 is the default port of a squid proxy server…
For more info on how to adjust your ssh config file do:
man ssh_config
If you’re getting one of the errors below, then you’ve made an error in the config file:
- ssh_exchange_identification: Connection closed by remote host
- ssh: connection to host example.net port 22: Connection timed out






codepoetry | Tunneling For Security - Problems with a Proxy
Trackbacks