1CORKSCREW(1) General Commands Manual CORKSCREW(1)
2
3
4
6 corkscrew - Tunnel TCP connections through HTTP proxies
7
9 corkscrew proxy proxyport targethost targetport [ authfile ]
10
12 This manual page documents briefly the corkscrew command. This manual
13 page was written for the Debian distribution because the original pro‐
14 gram does not have a manual page.
15
16 corkscrew is a simple tool to tunnel TCP connections through an HTTP
17 proxy supporting the CONNECT method. It reads stdin and writes to std‐
18 out during the connection, just like netcat. It can be used for
19 instance to connect to an SSH server running on a remote 443 port
20 through a strict HTTPS proxy.
21
22
23
25 proxy This is the name of the host running the HTTP proxy.
26
27 proxyport
28 This is the port on which to connect on the proxy.
29
30 target This is the host to reach through the proxy.
31
32 targetport
33 This is the port to connect to on the target host.
34
35
37 The common usage of corkscrew is to put the following line in your
38 ssh_config:
39
40 ProxyCommand corkscrew proxy proxyport %h %p
41
42 This will let your ssh connection go through the proxy with the help of
43 corkscrew.
44
45
47 The auth file is made of one single line containing your username and
48 password in the form:
49
50 username:password
51
52 You should add the path to your auth file in the proxy command
53 described above:
54
55 ProxyCommand corkscrew proxy proxyport %h %p auth-file
56
57
59 ssh_config(5)
60
61
63 corkscrew was written by Pat Padgett <agroman@agroman.net>. Thomas
64 Seyrat <tomasera@debian.org> is the debian maintainer for this package.
65 This manual page was written by Laurent Fousse <laurent@komite.net>,
66 for the Debian GNU/Linux system (but may be used by others).
67
68
69
70 November 22, 2003 CORKSCREW(1)