# 使用 Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, winget 安装 corkscrew

查看 corkscrew 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:corkscrew
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install corkscrew
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install corkscrew
```

  证据: MacPorts ports tree: net/corkscrew/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add corkscrew
```

  证据: Alpine Linux edge package indexes: corkscrew from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install corkscrew
```

  证据: Debian stable package indexes: corkscrew from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install corkscrew
```

  证据: Fedora Rawhide package metadata: corkscrew from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#corkscrew
```

  证据: nixpkgs package indexes: pkgs/by-name/co/corkscrew/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S corkscrew
```

  证据: Arch Linux sync databases: corkscrew from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

### Windows

- winget (92%):

```sh
winget install --id androidWG.Corkscrew -e
```

  证据: Windows Package Manager source index: androidWG.Corkscrew from https://cdn.winget.microsoft.com/cache/source.msix

## 软件包事实

- **软件包键:** brew:corkscrew
- **软件包管理器:** Homebrew
- **版本:** 2.0
- **来源摘要:** Tunnel SSH through HTTP proxies
- **主页:** <https://packages.debian.org/sid/corkscrew>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- corkscrew (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 2.0
## 项目历史与用法

Corkscrew is a small networking utility for tunneling SSH through HTTP proxies. Its upstream README frames OpenSSH ProxyCommand usage as the normal path, making it a classic single-purpose helper for locked-down networks.

### 项目历史

The public GitHub repository was created in 2009 and the upstream README identifies GitHub as the primary distribution site. The README also records older portability work by listing HPUX, Solaris, BSD systems, Linux, Cygwin/Win32, and macOS as compiled targets.

### 采用历史

Corkscrew spread through Unix package managers because it solved a narrow operational problem: connecting SSH through an HTTP proxy with minimal moving parts. Its presence in multiple package-manager ecosystems reflects the long tail of proxy-heavy corporate and campus networks.

### 使用方式

Typical usage adds a ProxyCommand line to ~/.ssh/config. For proxies requiring authentication, the README documents a separate username:password file, commonly placed under ~/.ssh with restrictive permissions.

### 为什么软件包爱好者会关心

Corkscrew is a package-manager survivor: tiny, stable, and useful when a network environment requires exactly its protocol trick. It matters less for feature churn than for preserving a known CLI building block.

### 时间线

- 2009: Public GitHub repository created.
- v2.0: Upstream repository exposes a v2.0 tag.
- Present: README continues to document OpenSSH ProxyCommand integration and proxy-auth file usage.

### Related projects

- Related tools and features include OpenSSH ProxyCommand, netcat-style proxy helpers, HTTP CONNECT proxies, and SSH ProxyJump for other tunneling scenarios.

### 来源

- <https://github.com/patpadgett/corkscrew>
- <https://raw.githubusercontent.com/patpadgett/corkscrew/master/README.md>
- <https://api.github.com/repos/patpadgett/corkscrew>
- <https://api.github.com/repos/patpadgett/corkscrew/tags>


## 安全说明

broad file, network, media, or database tool signal.

- **Geiger 风险:** blue / 中
- broad file, network, media, or database tool signal

## 其他软件包管理器记录

- Debian apt - corkscrew - 2.0-15: normalized package name match | Debian stable package indexes: corkscrew from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | tunnel TCP connections through HTTP proxies | https://github.com/patpadgett/corkscrew
- Nix - corkscrew: normalized package name match | nixpkgs package indexes: pkgs/by-name/co/corkscrew/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - corkscrew - 2.0-14: normalized package name match | Ubuntu 24.04 LTS package indexes: corkscrew from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | tunnel TCP connections through HTTP proxies | https://github.com/patpadgett/corkscrew
- apk - corkscrew - 2.0_git20190118-r1: normalized package name match | Alpine Linux edge package indexes: corkscrew from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Tool for tunneling SSH through HTTP proxies | https://github.com/bryanpkc/corkscrew
- apk - corkscrew-doc - 2.0_git20190118-r1: normalized package name match | Alpine Linux edge package indexes: corkscrew-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Tool for tunneling SSH through HTTP proxies (documentation) | https://github.com/bryanpkc/corkscrew
- dnf - corkscrew - 2.0-43.fc45: normalized package name match | Fedora Rawhide package metadata: corkscrew from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Tool for tunneling SSH through HTTP proxies | http://freshmeat.sourceforge.net/projects/corkscrew
- pacman - corkscrew - 2.0-8: normalized package name match | Arch Linux sync databases: corkscrew from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | A tool for tunneling SSH through HTTP proxies | https://github.com/patpadgett/corkscrew
- MacPorts - corkscrew: normalized package name match | MacPorts ports tree: net/corkscrew/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- winget - androidWG.Corkscrew: normalized package name match | Windows Package Manager source index: androidWG.Corkscrew from https://cdn.winget.microsoft.com/cache/source.msix


## Combined YAML source

View the package source record on GitHub. [combined/corkscrew.yml](https://github.com/mxcl/pkgdb/blob/main/combined/corkscrew.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
