Tunnelling ssh through https

Published: Tuesday, Oct 19, 2010 Last modified: Monday, Jul 15, 2024

You need 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

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 8080 %h %p
host webc
	HostName webconverger.org
	Port 443

In my case I ssh webc to freedom.