# 使用 Homebrew, apt, dnf, MacPorts, Nix, pacman 安装 zssh

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

## 安装

```sh
sudo av install brew:zssh
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install zssh
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install zssh
```

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

### Linux

- Debian apt (92%):

```sh
sudo apt install zssh
```

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

- dnf (92%):

```sh
sudo dnf install zssh
```

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

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

- pacman (92%):

```sh
sudo pacman -S zssh
```

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

## 软件包事实

- **软件包键:** brew:zssh
- **软件包管理器:** Homebrew
- **版本:** 1.5c
- **来源摘要:** Interactive file transfers over SSH
- **主页:** <https://zssh.sourceforge.net/>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- zssh (别名)
- ztelnet (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

zssh is a SourceForge-era terminal utility that wraps an interactive SSH session with ZMODEM file-transfer support. Its companion command, ztelnet, applies the same idea to telnet.

### 项目历史

The project was registered on SourceForge on 2000-06-27 and is credited on the homepage to Matthieu Lucotte. Its public homepage and SourceForge page describe zssh as Zmodem SSH: a way to transfer files to or from a remote machine while staying inside an already-authenticated secure shell session.

zssh's design reflects an older Unix remote-login workflow. Instead of opening a second terminal and running scp, it inserts a tty/pty layer between the user and local ssh process, then switches that channel between normal shell mode and local file-transfer commands after an escape sequence.

### 采用历史

zssh never became a replacement for scp, sftp, or rsync, but it remained packaged because it solved a specific interactive problem: moving files during a live remote shell session when re-authentication or another connection was inconvenient.

Its continued presence in package systems is a classic preservation case for small Unix tools: the upstream release is old, the protocol it depends on is older still, but a narrow workflow still exists for users who know exactly why they want ZMODEM over an SSH terminal.

### 使用方式

A user starts zssh much like ssh. During the remote shell session, pressing the configured escape sequence opens zssh's local prompt, where builtins such as rz and sz hook local transfer programs into the SSH channel. The FAQ emphasizes that ssh, sz, and rz must be available, with rz/sz required on both local and remote machines.

The practical failure modes are terminal-oriented: escape-key conflicts, non-8-bit-clean pty chains, incompatible rz/sz versions, and programs such as remote screen sessions interfering with the transparent channel.

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

zssh matters to package nerds as a fossil of a transitional era between dial-up/BBS-style ZMODEM habits and modern encrypted remote administration. It packages an old terminal file-transfer protocol as a composable Unix wrapper around ssh.

It is also a reminder that packaging sometimes preserves workflows rather than fashionable software: a tiny C program, readline-style local prompt, and external rz/sz dependency can remain useful long after the upstream website stops looking modern.

### 时间线

- 2000-06-27: zssh project registered on SourceForge.
- 2003-09-24: zssh 1.5c listed as the latest release on the project homepage.
- 2013-03-21: SourceForge project page records the last project update.

### Related projects

- Related tools and protocols include OpenSSH, telnet, scp, sftp, rsync, lrzsz, rz, sz, and the ZMODEM protocol.

### 来源

- <https://sourceforge.net/projects/zssh/>
- <https://zssh.sourceforge.net/>
- <https://zssh.sourceforge.net/FAQ>


## 安全说明

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

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

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

- Debian apt - zssh - 1.5c.debian.1-10+b1: normalized package name match | Debian stable package indexes: zssh from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | interactive file transfers over ssh | https://zssh.sourceforge.net/
- Nix - zssh: normalized package name match | nixpkgs package indexes: pkgs/by-name/zs/zssh/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - zssh - 1.5c.debian.1-10build2: normalized package name match | Ubuntu 24.04 LTS package indexes: zssh from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | interactive file transfers over ssh | https://zssh.sourceforge.net/
- dnf - zssh - 1.5c-22.fc45: normalized package name match | Fedora Rawhide package metadata: zssh from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | SSH and Telnet client with ZMODEM file transfer capability | http://zssh.sourceforge.net/
- pacman - zssh - 1.5c-15: normalized package name match | Arch Linux sync databases: zssh from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | SSH and Telnet client with ZMODEM file transfer capability | http://zssh.sourceforge.net/
- MacPorts - zssh: normalized package name match | MacPorts ports tree: comms/zssh/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/zssh.yml](https://github.com/mxcl/pkgdb/blob/main/combined/zssh.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
