Home > blogpost > OpenSSH using your HTTP PROXY

OpenSSH using your HTTP PROXY

September 15th, 2008 Leave a comment Go to comments

It is very easy to let openSSH use a proxy for his connection. 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.
Tags: , ,
  1. No comments yet.
  1. No trackbacks yet.