# 使用 Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper 安装 ssh-audit

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

## 安装

```sh
sudo av install brew:ssh-audit
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install ssh-audit
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install ssh-audit
```

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

### Linux

- apk (92%):

```sh
sudo apk add ssh-audit
```

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

- Debian apt (92%):

```sh
sudo apt install ssh-audit
```

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

- dnf (92%):

```sh
sudo dnf install ssh-audit
```

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

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

- pacman (92%):

```sh
sudo pacman -S ssh-audit
```

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

- zypper (92%):

```sh
sudo zypper install ssh-audit
```

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

## 软件包事实

- **软件包键:** brew:ssh-audit
- **软件包管理器:** Homebrew
- **版本:** 3.9.0
- **来源摘要:** SSH server & client auditing
- **主页:** <https://github.com/jtesta/ssh-audit>
- **仓库:** <https://github.com/jtesta/ssh-audit>
- **最后更新:** 2026-07-07T08:04:06Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- ssh-audit (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

ssh-audit is a dependency-free command-line tool for auditing SSH server and client cryptographic configuration.

### 项目历史

The maintained jtesta/ssh-audit line was created in 2017 and the README identifies it as the v2.0+ continuation of arthepsy/ssh-audit v1.x after the earlier project became inactive.

Version 2.0.0 was released in 2019. Later releases expanded server and client auditing, policy scans, algorithm lookup, hardening guides, JSON output, multi-target scans, and checks related to SSH cryptographic weaknesses.

### 采用历史

The upstream README advertises prebuilt packages for PyPI, Snap, Docker, and Windows, includes badges for PyPI, Homebrew, Docker, and Snap downloads, and links to Repology for broader package status. The input facts list packages in Alpine, Homebrew, Debian/Ubuntu, Fedora/DNF, MacPorts, Nix, Arch, and openSUSE.

### 使用方式

Admins and security engineers use ssh-audit against hostnames, addresses, Unix sockets, target lists, or in client-audit mode. It reports banners, key exchange, host-key, encryption, MAC, compression, algorithm history, security warnings, and recommendations.

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

ssh-audit is package-nerd friendly because it is a single Python CLI with no runtime dependencies, making it easy to package and run in CI, containers, security baselines, and one-off terminal checks across operating systems.

### 时间线

- 2017-09: jtesta/ssh-audit repository created.
- 2019-08: v2.0.0 released as the maintained v2 line.
- 2020: v2.3.0 released with continued feature development.
- 2024-2026: README documents current Python-version support, hardening guides, package surfaces, and v3.x development.

### Related projects

- Related projects and surfaces include arthepsy/ssh-audit, OpenSSH, Dropbear SSH, libssh, PyPI, Docker Hub, Snap, Homebrew, and ssh-audit.com.

### 来源

- <https://api.github.com/repos/jtesta/ssh-audit>
- <https://github.com/jtesta/ssh-audit>
- <https://github.com/jtesta/ssh-audit/releases>
- input.source_facts.package-manager


## 安全说明

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

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

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

- Debian apt - ssh-audit - 3.3.0-2: normalized package name match | Debian stable package indexes: ssh-audit from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | tool for ssh server & client auditing | https://github.com/jtesta/ssh-audit
- Nix - ssh-audit: normalized package name match | nixpkgs package indexes: pkgs/by-name/ss/ssh-audit/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - ssh-audit - 3.1.0-1: normalized package name match | Ubuntu 24.04 LTS package indexes: ssh-audit from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | tool for ssh server auditing | https://github.com/jtesta/ssh-audit
- apk - ssh-audit - 3.9.0-r0: normalized package name match | Alpine Linux edge package indexes: ssh-audit from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | SSH server and client configuration auditing | https://github.com/jtesta/ssh-audit
- apk - ssh-audit-doc - 3.9.0-r0: normalized package name match | Alpine Linux edge package indexes: ssh-audit-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | SSH server and client configuration auditing (documentation) | https://github.com/jtesta/ssh-audit
- apk - ssh-audit-pyc - 3.9.0-r0: normalized package name match | Alpine Linux edge package indexes: ssh-audit-pyc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Precompiled Python bytecode for ssh-audit | https://github.com/jtesta/ssh-audit
- dnf - ssh-audit - 3.3.0-9.fc45: normalized package name match | Fedora Rawhide package metadata: ssh-audit from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | An SSH server & client configuration security auditing tool | https://github.com/jtesta/ssh-audit
- pacman - ssh-audit - 3.9.0-1: normalized package name match | Arch Linux sync databases: ssh-audit from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | SSH configuration auditing | https://github.com/jtesta/ssh-audit
- zypper - ssh-audit - 3.9.0-1.1: normalized package name match | openSUSE Tumbleweed package metadata: ssh-audit from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | SSH server auditing | https://github.com/jtesta/ssh-audit
- MacPorts - ssh-audit: normalized package name match | MacPorts ports tree: security/ssh-audit/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/ssh-audit.yml](https://github.com/mxcl/pkgdb/blob/main/combined/ssh-audit.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
