man corkscrew (Commandes) - Tunnel TCP connections through HTTP proxies
corkscrew - Tunnel TCP connections through HTTP proxies
[ authfile ]
This manual page documents briefly the corkscrew command. This manual page was written for the Debian distribution because the original program does not have a manual page.
corkscrew is a simple tool to tunnel TCP connections through an HTTP proxy supporting the CONNECT method. It reads stdin and writes to stdout during the connection, just like netcat. It can be used for instance to connect to an SSH server running on a remote 443 port through a strict HTTPS proxy.
- This is the name of the host running the HTTP proxy.
- This is the port on which to connect on the proxy.
- This is the host to reach through the proxy.
- This is the port to connect to on the target host.
The common usage of corkscrew is to put the following line in your ssh_config:
ProxyCommand corkscrew proxy proxyport %h %p
This will let your ssh connection go through the proxy with the help of corkscrew.
The auth file is made of one single line containing your username and password in the form:
You should add the path to your auth file in the proxy command described above:
ProxyCommand corkscrew proxy proxyport %h %p auth-file
corkscrew was written by Pat Padgett <firstname.lastname@example.org>. Thomas Seyrat <email@example.com> is the debian maintainer for this package. This manual page was written by Laurent Fousse <firstname.lastname@example.org>, for the Debian GNU/Linux system (but may be used by others).