SSH-MITM-AUDIT(1)

NAME
SSH-MITM - ssh audits made simple

SYNOPSIS

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

DESCRIPTION
This manual page explains the SSH-MITM-AUDIT program.

SUBCOMMANDS

  check-privatekey
checks a username and privatekey against a server

--host <HOST>
    Hostname or IP address.

--port <PORT>
    port (default: 22).

--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

--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

--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