# ssh-mitm を Homebrew, Nix でインストール

ssh-mitm のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

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

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install ssh-mitm
```

  証拠: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#ssh-mitm
```

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

## パッケージ情報

- **パッケージキー:** brew:ssh-mitm
- **パッケージマネージャ:** Homebrew
- **バージョン:** 5.0.1
- **ソース概要:** SSH server for security audits and malware analysis
- **ホームページ:** <https://docs.ssh-mitm.at>
- **リポジトリ:** <https://github.com/ssh-mitm/ssh-mitm>
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- ssh-mitm (エイリアス)
- ssh-mitm-askpass (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 5.0.1
## プロジェクトの歴史と使われ方

SSH-MITM is an interactive SSH interception tool for authorized security audits, penetration testing, training labs, and malware-analysis environments. Its package-manager relevance comes from making a specialized man-in-the-middle SSH audit workflow installable as a normal CLI rather than as a one-off lab script.

### プロジェクトの歴史

The project presents itself as an active security research tool rather than a general-purpose SSH server. Its documentation says it was originally developed to study SSH client behavior and authentication weaknesses, especially the ambiguity around FIDO2 hardware-token confirmations in man-in-the-middle scenarios.

### 採用の歴史

The official README advertises multiple distribution channels, including AppImage, Flatpak, Snap, pip, and direct installation from GitHub. Homebrew and Nix packaging in the input show that it also entered package-manager catalogs used by security engineers who want reproducible CLI installs.

### 使われ方

Typical use places SSH-MITM between a client and a target SSH server, then runs commands such as `ssh-mitm server --remote-host <target-host>` and has a test client connect through the interception port. The tool can capture authentication, mirror live sessions, inspect or alter SFTP/SCP transfers, intercept port forwarding, and run audit plugins.

### パッケージ好きにとっての重要性

Package nerds care because SSH-MITM turns SSH protocol research into an installable command with extras such as tutorials, plugins, AppImage and desktop packaging, and documented CVE-driven audit workflows. It sits at the edge of package-manager culture where offensive security labs, training images, and repeatable toolchains meet.

### タイムライン

- 2021: SSH-MITM research documented trivial-authentication CVEs affecting multiple SSH clients.
- 2022: The project documented follow-up CVEs related to the same SSH authentication research area.
- 2025: The changelog documents expansion into tutorials, plugin browsing, MOSH and PowerShell remoting interception, persistent host keys, and Terrapin detection improvements.

### Related projects

- SSH-MITM is closely related to OpenSSH, Paramiko, MOSH, SCP/SFTP clients, and SSH client vulnerability research. It is complementary to scanners and audit tools because it observes and manipulates live SSH sessions rather than only checking static configuration.

### ソース

- <https://docs.ssh-mitm.at/audit_guide/trivialauth.html>
- <https://docs.ssh-mitm.at/vulnerabilities/findings.html>
- <https://github.com/ssh-mitm/ssh-mitm#readme>
- <https://raw.githubusercontent.com/ssh-mitm/ssh-mitm/master/CHANGELOG.md>
- source_facts.package-manager


## セキュリティノート

broad file, network, media, or database tool signal. escape, surveillance, or offensive capability signal.

- **Geiger リスク:** red / 中
- broad file, network, media, or database tool signal
- escape, surveillance, or offensive capability signal

## 他のパッケージマネージャ記録

- Nix - ssh-mitm: normalized package name match | nixpkgs package indexes: pkgs/by-name/ss/ssh-mitm/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## Combined YAML source

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