SSH-MITM-AUDIT(1)

πŸ“¦
version 6.0.1 Β· 2 versions
, in nixpkgs unstable

🌸 NAME 🌸

okay bestie, this is the SSH-MITM-AUDIT(1) page from the General Commands Manual (section 1), and it's all about SSH-MITM β€” literally ssh audits made simple πŸ’…βœ¨


✨ SYNOPSIS ✨

ssh-mitm audit <subcommand> [<args>]

πŸ¦‹ DESCRIPTION πŸ¦‹

no cap, this manual page explains the SSH-MITM-AUDIT program 🫢 think of it as the audit side of SSH-MITM: you get subcommands, you pass flags, you learn stuff about an ssh server. iconic behavior fr fr.


πŸ’… SUBCOMMANDS πŸ’…

check-privatekey

checks a username and privatekey against a server β€” like, does this key actually get in? πŸ‘€πŸ”‘

  • --host <HOST> β€” hostname or IP address, aka where the server is living.
  • --port <PORT> β€” port (default: 22), because ssh lives on 22 unless it's being extra.
  • --username <USERNAME> β€” username to check.
  • --private-key <PRIVATE_KEY> β€” privatekey to check.
  • --private-key-passphrase <PRIVATE_KEY_PASSPHRASE> β€” used to decrypt the private key πŸ”

check-publickey

checks a username and publickey against a server β€” same vibe, but with the publickey instead πŸ’–

  • --host <HOST> β€” hostname or IP address.
  • --port <PORT> β€” port (default: 22).
  • --username <USERNAME> β€” username to check.
  • --public-key <PUBLIC_KEY> β€” publickey to check.

get-auth

checks for available authentication methods β€” literally just asks the server "what auth methods do u accept, bestie?" 🧚

  • --host <HOST> β€” hostname or IP address.
  • --port <PORT> β€” port (default: 22).

πŸŽ€ EXAMPLES πŸŽ€

  • Get all available authentication methods from the ssh server.
$ ssh-mitm audit get-auth --host 192.168.0.1
  • Check if a specific publickey is known by the remote ssh server.
$ ssh-mitm audit check-publickey \
    --host 192.168.0.1 \
    --username alice \
    --public-key /path/to/id_rsa.pub
  • Check if a specific privatekey is allowed to login on the remote ssh server.
$ ssh-mitm audit check-privatekey \
    --host 192.168.0.1 \
    --username alice \
    --private-key /path/to/id_rsa

bestie, that's the whole page: check-privatekey, check-publickey, and get-auth, with their flags and their defaults, all accounted for. no details left behind πŸ’€βœ¨

and for the cute sign-off: this beauty comes from the SSH-MITM Manual, version 6.0.1, and you're reading the SSH-MITM-AUDIT(1) page πŸŽ€πŸ¦‹ see u in the group chat πŸ’œ

πŸ“¦ where this page comes from