# 使用 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/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-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
- **软件包管理器页面:** <https://formulae.brew.sh/formula/sshuttle>
- **版本:** 1.3.2
- **来源摘要:** Proxy server that works as a poor man's VPN
- **主页:** <https://github.com/sshuttle/sshuttle>
- **仓库:** <https://github.com/sshuttle/sshuttle>
- **许可证:** LGPL-2.1-or-later
- **源码归档:** <https://files.pythonhosted.org/packages/f3/fd/18f958bb11d6ae59c8a1388bf03152499270eb9e2ac5ed544b551a693f4f/sshuttle-1.3.2.tar.gz>
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- sshuttle (cli)
- sshuttle (别名)

## 依赖

- python@3.14

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 all

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 1.3.2
- 本地数据: OK
- 上游仓库: https://github.com/sshuttle/sshuttle
- 信息: No package-manager update timestamp was available.
- 信息: No cached GitHub release or tag data was available.
## 项目历史与用法

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

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** sshuttle
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

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

- 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/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-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


## 相关链接

- [Source-control packages](https://pkg.so/zh-hans/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://pkg.so/zh-hans/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [python@3.14](https://pkg.so/zh-hans/brew/python-3-14/) - Runtime dependency declared by Homebrew.
- [connect](https://pkg.so/zh-hans/brew/connect/) - Shares pkgdb curated category or tags: cli, networking, proxy, ssh, tunneling.
- [gotun](https://pkg.so/zh-hans/brew/gotun/) - Shares pkgdb curated category or tags: cli, networking, proxy, ssh, tunneling.
- [openvpn](https://pkg.so/zh-hans/brew/openvpn/) - Shares pkgdb curated category or tags: cli, networking, tunneling, vpn.
- [wireguard-tools](https://pkg.so/zh-hans/brew/wireguard-tools/) - Shares pkgdb curated category or tags: cli, networking, tunneling, vpn.
- [sing-box](https://pkg.so/zh-hans/brew/sing-box/) - Shares pkgdb curated category or tags: cli, networking, proxy, vpn.
- [v2ray](https://pkg.so/zh-hans/brew/v2ray/) - Shares pkgdb curated category or tags: cli, networking, proxy, tunneling.
- [wstunnel](https://pkg.so/zh-hans/brew/wstunnel/) - Shares pkgdb curated category or tags: cli, networking, proxy, tunneling.
- [corkscrew](https://pkg.so/zh-hans/brew/corkscrew/) - Shares pkgdb curated category or tags: cli, networking, proxy, ssh, tunneling.
- [rospo](https://pkg.so/zh-hans/brew/rospo/) - Security-sensitive metadata or terminology overlaps. Shared terms: cli, networking, proxy, server, ssh.

## 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
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
