# 使用 Homebrew, apk, MacPorts, Nix, pacman, scoop 安装 sshs

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

## 安装

```sh
sudo av install brew:sshs
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install sshs
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install sshs
```

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

### Linux

- apk (92%):

```sh
sudo apk add sshs
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#sshs
```

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

- pacman (92%):

```sh
sudo pacman -S sshs
```

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

### Windows

- Scoop (92%):

```sh
scoop install extras/sshs
```

  证据: Scoop official bucket manifest trees: bucket/sshs.json from https://api.github.com/repos/ScoopInstaller/Extras/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:sshs
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/sshs>
- **版本:** 4.7.2
- **来源摘要:** Graphical command-line client for SSH
- **主页:** <https://github.com/quantumsheep/sshs>
- **仓库:** <https://github.com/quantumsheep/sshs>
- **许可证:** MIT
- **源码归档:** <https://github.com/quantumsheep/sshs/archive/refs/tags/4.7.2.tar.gz>
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- sshs (cli)
- sshs (别名)

## 构建依赖

- rust

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 4.7.2
- 本地数据: OK
- 上游仓库: https://github.com/quantumsheep/sshs
- 检测到的最新版本: 4.7.2 (当前)
- 信息: No package-manager update timestamp was available.
## 项目历史与用法

sshs is a Rust terminal user interface for choosing SSH hosts from an existing OpenSSH config file.

### 项目历史

The upstream repository's earliest commits are from February 2022 and describe the initial implementation of the SSH host selector. The README defines the tool narrowly: it reads `~/.ssh/config`, lists hosts in a terminal interface, and launches the system `ssh` client rather than replacing OpenSSH.

### 采用历史

The README documents installation through Homebrew, Chocolatey, Arch Linux, Alpine Linux, NetBSD pkgsrc, Nix flakes, and source builds, while the supplied package metadata also records MacPorts, pacman, Nix, Scoop, and Homebrew identifiers. That breadth indicates adoption as a small convenience CLI across multiple package ecosystems.

### 使用方式

Users install `sshs`, keep their normal OpenSSH configuration, and run the TUI to search and connect to configured hosts. The README also documents a `--config` option for users who want to point it at another SSH config file.

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

Package nerds care about sshs because it is intentionally boring in the best way: it layers a searchable TUI over the de facto OpenSSH config format, so packaging it is mostly about delivering a small Rust binary that respects existing user dotfiles.

### 时间线

- 2022: Initial upstream commits implemented the SSH host selector.
- 2022: 1.0.0 and several early 1.x tags were published.
- 2024: README documented broad package-manager installation paths.
- 2025: 4.7.2 appeared in the upstream tag history.

### Related projects

- sshs belongs to the family of SSH connection managers and terminal launchers, but it delegates connection semantics to OpenSSH and its `ssh_config` file.

### 来源

- Git history from https://github.com/quantumsheep/sshs
- <https://github.com/quantumsheep/sshs#readme>
- source_facts.package-manager


## 安全说明

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

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


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: ~/.ssh/config
## 源数据库详情

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

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

- Nix - sshs: normalized package name match | nixpkgs package indexes: pkgs/by-name/ss/sshs/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - sshs - 4.7.2-r0: normalized package name match | Alpine Linux edge package indexes: sshs from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Terminal user interface for SSH | https://github.com/quantumsheep/sshs
- pacman - sshs - 4.7.2-1: normalized package name match | Arch Linux sync databases: sshs from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Terminal user interface for SSH | https://github.com/quantumsheep/sshs
- MacPorts - sshs: normalized package name match | MacPorts ports tree: net/sshs/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Scoop - extras/sshs: normalized package name match | Scoop official bucket manifest trees: bucket/sshs.json from https://api.github.com/repos/ScoopInstaller/Extras/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.
- [Text processing packages](https://pkg.so/zh-hans/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [rust](https://pkg.so/zh-hans/brew/rust/) - Build dependency declared by Homebrew.
- [television](https://pkg.so/zh-hans/brew/television/) - Shares pkgdb curated category or tags: cli, developer-tools, terminal, tui.
- [glow](https://pkg.so/zh-hans/brew/glow/) - Shares pkgdb curated category or tags: cli, developer-tools, terminal, tui.
- [fx](https://pkg.so/zh-hans/brew/fx/) - Shares pkgdb curated category or tags: cli, developer-tools, terminal, tui.
- [gitui](https://pkg.so/zh-hans/brew/gitui/) - Shares pkgdb curated category or tags: cli, developer-tools, terminal, tui.
- [jjui](https://pkg.so/zh-hans/brew/jjui/) - Shares pkgdb curated category or tags: cli, developer-tools, terminal, tui.
- [posting](https://pkg.so/zh-hans/brew/posting/) - Shares pkgdb curated category or tags: cli, developer-tools, terminal, tui.
- [hunk](https://pkg.so/zh-hans/brew/hunk/) - Shares pkgdb curated category or tags: cli, developer-tools, terminal, tui.
- [harlequin](https://pkg.so/zh-hans/brew/harlequin/) - Shares pkgdb curated category or tags: cli, developer-tools, terminal, tui.
- [soft-serve](https://pkg.so/zh-hans/brew/soft-serve/) - Security-sensitive metadata or terminology overlaps. Shared terms: cli, command-line, developer, developer-tools, line.
- [gitu](https://pkg.so/zh-hans/brew/gitu/) - Local metadata places this package in an adjacent workflow. Shared terms: cli, client, developer, developer-tools, terminal.

## Combined YAML source

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


## 来源

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
