# 使用 Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper 安装 sshuttle

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

## 安装

```sh
sudo av install brew:sshuttle
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install sshuttle
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install sshuttle
```

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

### Linux

- apk (92%):

```sh
sudo apk add sshuttle
```

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

- Debian apt (92%):

```sh
sudo apt install sshuttle
```

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

- dnf (92%):

```sh
sudo dnf install sshuttle
```

  证据: Fedora Rawhide package metadata: sshuttle 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#sshuttle
```

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

- pacman (92%):

```sh
sudo pacman -S sshuttle
```

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

- zypper (92%):

```sh
sudo zypper install sshuttle
```

  证据: openSUSE Tumbleweed package metadata: sshuttle from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## 软件包事实

- **软件包键:** brew:sshuttle
- **软件包管理器:** Homebrew
- **版本:** 1.3.2
- **来源摘要:** Proxy server that works as a poor man's VPN
- **主页:** <https://github.com/sshuttle/sshuttle>
- **仓库:** <https://github.com/sshuttle/sshuttle>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- sshuttle (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

sshuttle is a transparent proxy over SSH that is commonly described as a poor man's VPN.

### 项目历史

The upstream Git history begins in 2010, and the current documentation credits original author Avery Pennarun with earlier transparent-proxy and VPN experiments dating back to Tunnel Vision and Fast Forward in 1998. sshuttle combined those ideas into a tool that forwards TCP sessions over SSH without requiring a packet-level VPN on the remote side.

The project later moved into the `sshuttle/sshuttle` GitHub organization and Read the Docs documentation. Its release history shows long-lived maintenance from early 0.x tags through 1.x releases, with the documentation now covering Linux, macOS, BSD-family systems, pfSense, OpenWRT, ChromeOS, and Windows notes.

### 采用历史

The supplied package metadata lists sshuttle in Homebrew, Alpine, Debian, Fedora, MacPorts, Nix, Arch, Ubuntu, and openSUSE-style packaging. That distribution breadth matches its role as a pragmatic command-line networking tool: it is often installed when a developer has SSH access to a machine but no usable VPN.

### 使用方式

Typical usage is `sshuttle -r user@sshserver 0/0` to route traffic through a remote host, optionally adding DNS forwarding or subnet discovery. The docs stress that sshuttle uploads and runs its Python server component over the SSH connection, so the remote side only needs a suitable Python interpreter and an SSH account.

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

sshuttle is significant in package-manager culture because it occupies a durable CLI niche between OpenSSH port forwarding and full VPN software. It gives developers a one-command network escape hatch, while package maintainers have to care about local firewall backends, Python compatibility, and platform-specific routing behavior.

### 时间线

- 1998: Avery Pennarun released earlier transparent-proxy and VPN-related tools that the sshuttle docs cite as conceptual predecessors.
- 2010: Initial sshuttle commits and early 0.x tags appeared.
- 2016: Sphinx/Read the Docs documentation and renewed 0.7x releases documented BSD, macOS, and Python updates.
- 2020: 1.0.0 added Python 3.8 support, nftables method work, sshpass support, and packaging documentation updates.
- 2025: 1.3.2 documentation identified the project as current stable documentation.

### Related projects

- sshuttle is related to OpenSSH port forwarding, VPN systems such as IPsec and OpenVPN, and transparent proxy tools, but its docs distinguish it by forwarding sessions rather than packets.

### 来源

- Git history from https://github.com/sshuttle/sshuttle
- <https://github.com/sshuttle/sshuttle#readme>
- <https://sshuttle.readthedocs.io/en/stable/changes.html>
- <https://sshuttle.readthedocs.io/en/stable/manpage.html>
- <https://sshuttle.readthedocs.io/en/stable/overview.html>
- <https://sshuttle.readthedocs.io/en/stable/trivia.html>
- <https://sshuttle.readthedocs.io/en/stable/usage.html>
- source_facts.package-manager


## 安全说明

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

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

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

- Debian apt - sshuttle - 1.3.1-1: normalized package name match | Debian stable package indexes: sshuttle from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Transparent proxy server for VPN over SSH | https://github.com/sshuttle/sshuttle
- Nix - sshuttle: normalized package name match | nixpkgs package indexes: pkgs/by-name/ss/sshuttle/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - sshuttle - 1.1.1-2ubuntu2: normalized package name match | Ubuntu 24.04 LTS package indexes: sshuttle from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Transparent proxy server for VPN over SSH | https://github.com/sshuttle/sshuttle
- apk - sshuttle - 1.3.2-r1: normalized package name match | Alpine Linux edge package indexes: sshuttle from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Transparent proxy server using ssh | https://github.com/sshuttle/sshuttle
- apk - sshuttle-doc - 1.3.2-r1: normalized package name match | Alpine Linux edge package indexes: sshuttle-doc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Transparent proxy server using ssh (documentation) | https://github.com/sshuttle/sshuttle
- apk - sshuttle-pyc - 1.3.2-r1: normalized package name match | Alpine Linux edge package indexes: sshuttle-pyc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Precompiled Python bytecode for sshuttle | https://github.com/sshuttle/sshuttle
- dnf - sshuttle - 1.3.2-4.fc45: normalized package name match | Fedora Rawhide package metadata: sshuttle from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Transparent Proxy VPN | https://github.com/sshuttle/sshuttle
- pacman - sshuttle - 1.3.2-2: normalized package name match | Arch Linux sync databases: sshuttle from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Transparent proxy server that forwards all TCP packets over ssh | https://github.com/sshuttle/sshuttle
- zypper - sshuttle - 1.3.2-1.5: normalized package name match | openSUSE Tumbleweed package metadata: sshuttle from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | VPN over an SSH tunnel | https://github.com/sshuttle/sshuttle
- MacPorts - sshuttle: normalized package name match | MacPorts ports tree: net/sshuttle/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/sshuttle.yml](https://github.com/mxcl/pkgdb/blob/main/combined/sshuttle.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
