cme_ssh
Authenticate to SSH on Linux/Unix hosts using passwords or keys, then execute commands or run modules.
Instructions
Execute SSH protocol operations. Supports password and key-based authentication for Linux/Unix hosts.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| targets | Yes | Target IP, hostname, CIDR range, or file path | |
| username | No | Username or file path to usernames | |
| password | No | Password or file path to passwords | |
| port | No | SSH port (default: 22) | |
| keyFile | No | Path to SSH private key | |
| sshTimeout | No | SSH timeout in seconds | |
| threads | No | Concurrent threads | |
| execCmd | No | Execute command | |
| module | No | Module to run | |
| moduleOptions | No | Module options | |
| verbose | No | Verbose output | |
| debug | No | Debug output |