Difference between revisions of "Connecting to SSH server listening on port 443 using HTTP proxy server with HTTP CONNECT"
From Notes_Wiki
m (Saurabh moved page Connecting to SSH server listening on port 22 using HTTP proxy server with HTTP CONNECT to Connecting to SSH server listening on port 443 using HTTP proxy server with HTTP CONNECT without leaving a redirect: Typo correction) |
m |
||
Line 1: | Line 1: | ||
=Connecting to SSH server listening on port | =Connecting to SSH server listening on port 443 using HTTP proxy server with HTTP CONNECT= | ||
To connect to SSH server using http proxy server using HTTP connect use following steps: | To connect to SSH server using http proxy server using HTTP connect use following steps: |
Revision as of 10:55, 23 March 2014
Connecting to SSH server listening on port 443 using HTTP proxy server with HTTP CONNECT
To connect to SSH server using http proxy server using HTTP connect use following steps:
- Download corkscrew source from http://www.agroman.net/corkscrew/ and install it using './configure; make; sudo make install'
- Add configuration lines similar to following in '/etc/ssh/ssh_config' file
- Host *
- ProxyCommand corkscrew <proxy-server> <proxy-port> %h %p
- Replace * with appropriate host, if corkscrew should be used only for a specific destination
Note that the above steps will work only if the given HTTP proxy server accepts HTTP CONNECT requests for all ports. Default configuration of many HTTP proxy servers is to allow CONNECT only for HTTPS ports such as 443 or 8443. In case such a restrictive proxy server is in use then SSH server can be configured to also listen on port 443, provided there is no HTTPS server running on destination