On this page
Bypassing HTTPS Proxies for SSH
Introduction
Those workplace proxies can be really annoying! But there are always solutions!
So here’s the situation: I want to access a remote machine via SSH, but only ports 80 and 443 are allowed. Even if you configure the SSH server on port 443, you’ll notice it doesn’t work.
A solution? Yes: connect-proxy.
Installation
Seveur
On the server, simply modify the sshd_config file to make SSH listen on port 443:
|
|
And restart the SSH service.
PS: If you don’t want to run SSH on port 443, you can use SSLH method to multiplex SSL and SSH on the same port.
Client
Debian / Ubuntu
Install connect-proxy:
|
|
Mac
Let’s compile it:
|
|
Others
You’ll need to compile it:
|
|
Configuration
Create or edit your SSH config file (~/.ssh/config
):
|
|
The configuration is complete, now you just need to connect:
|
|
Resources
Last updated 30 Jul 2012, 11:19 CEST.