---
name: "sshmitm"
section: "8"
platform: "linux"
package: "dsniff"
version: "2.4b1-34"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/sshmitm"
---

# sshmitm(8)

SSH monkey-in-the-middle

## NAME

sshmitm - SSH monkey-in-the-middle

## SYNOPSIS

```

```

**sshmitm** \[**-d**\] \[**-I**\] \[**-p** *port*\] host \[*port*\]

## DESCRIPTION

**sshmitm** proxies and sniffs SSH traffic redirected by [dnsspoof(8)](/dnsspoof/8.md), capturing SSH password logins, and optionally hijacking interactive sessions. Only SSH protocol version 1 is (or ever will be) supported - this program is far too evil already.

## OPTIONS

- **-d**

  Enable verbose debugging output.

- **-I**

  Monitor / hijack an interactive session.

- **-p** *port*

  Specify the local port to listen on.

- *host*

  Specify the remote host to relay connections to.

- *port*

  Specify the remote port to relay connections to.

## SEE ALSO

[dsniff(8)](/dsniff/8.md), [dnsspoof(8)](/dnsspoof/8.md)

## AUTHOR

```
Dug Song <dugsong@monkey.org>
```
