# ssh-mitm/ssh-mitm

SSH-MITM - ssh audits made simple

Repository: https://github.com/ssh-mitm/ssh-mitm
Canonical: https://ross.abutalabs.com/products/ssh-mitm-ssh-mitm
Homepage: https://docs.ssh-mitm.at
Language: Python
License: GPL-3.0
License Family: copyleft
Topics: ssh, ssh-server, ssh-client, mitmproxy, mitm-attacks, security-audit, security-tools, mitm, proxy, ssh-mitm, sftp, scp, security, penetration-testing, python, cve, fido2, man-in-the-middle, cve-2021-36367, cve-2021-36368
Last push: 2026-08-05T06:48:03+00:00

## Health v2 (maintenance only)
Score: 66/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 96, release rhythm 8, longevity 100
- inputs: {"age_days": 2282, "days_push": 28, "days_rel": 588, "gap_med": null, "n_releases_24m": 1}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1464, forks 155 (observed 2026-08-28T04:04:48.172509+00:00)

## What it is
SSH-MITM is an open-source man-in-the-middle SSH server for authorized security audits and malware analysis. It proxies SSH client-server connections, intercepting sessions, credentials, file transfers, and port forwarding in real time via a plugin system.

## Use cases
- intercept ssh sessions during a penetration test
- capture ssh passwords and public keys in cleartext
- hijack a live ssh terminal session and inject commands
- manipulate files transferred over scp or sftp
- test clients for cve-2021-36367 fido2 token bypass
- audit ssh traffic through a transparent proxy
- redirect clients without forwarded agents to a honeypot

## When to choose
- you need real-time visibility into ssh sessions during an authorized audit
- you want to intercept or replace scp/sftp file transfers
- you need to demonstrate ssh client vulnerabilities like trivial authentication attacks
- you want an extensible mitm ssh proxy with plugins

## When to avoid
- you only need to run a normal ssh server or client
- you lack explicit authorization to test the target systems
- you need tls/https interception rather than ssh

## Facets
- artifact type: cli-tool
- maturity: active
- function: security, penetration-testing, proxy, ssh, plugin-system
- domain: security, penetration-testing, developer-tools, networking
- platform: windows, python, cli, cross-platform
- tags: ssh-mitm, man-in-the-middle, session-hijacking, sftp, scp, security-audit, honeypot, fido2, linux, macos

## Member repositories
- ssh-mitm/ssh-mitm (main) score 66

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:48.172509+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:35:10.894004+00:00, confidence not recorded.
  - readme: https://github.com/ssh-mitm/ssh-mitm (fetched 2026-08-28T04:04:48.172509+00:00, sha 60054ba55fa3)
  - homepage: https://docs.ssh-mitm.at (fetched 2026-08-29T11:43:36.043578+00:00, sha 3e8a2762e655)
  - registry_pypi: https://pypi.org/pypi/ssh-mitm/json (fetched 2026-08-29T11:43:36.046217+00:00, sha 8b9c62177b74)
- Data as of 2026-08-30T08:39:29.467469+00:00.
