Tunnelling ssh through https
Published: Tuesday, Oct 19, 2010 Last modified: Friday, May 12, 2023
sudo apt-get install corkscrew on the client machine.
You need to figure out the proxy address if your corporate environment is dumb enough to use a non-transparent proxy, in my case it’s 220.127.116.11.
On your host, in my case webconverger.org, hosted with Bitfolk, you need to specify the HTTPS port 443 in the configuration and reload the sshd daemon.
grep "Port 443" /etc/ssh/sshd_config
Now with a
~/.ssh/config setup like so:
ProxyCommand /usr/bin/corkscrew 18.104.22.168 8080 %h %p host webc HostName webconverger.org Port 443
In my case I
ssh webc to freedom.