Archive

Archive for September, 2008

OpenSSH using your HTTP PROXY

September 15th, 2008

It is basically very easy to let openSSH use a proxy for his connection. Basically all you have to do is write a simple configuration in your ~/.ssh/config file

Host webhost-over-proxy
    User myuser
    HostName myhostorip
    Port 443
    ServerAliveInterval 30
    ProxyCommand nc -v -x your.proxy.host:80 -X connect ?%h %p

All you have to do now is just type ssh webhost-over-proxy or ssh -v to see some debug messages and it will be transported transparent over the proxy.

blogpost , ,