ssh_history
Retrieve the log of SSH commands executed in the current session, filtered by server, success status, or search text, with timestamps and duration.
Instructions
Returns the in-memory log of SSH commands previously run through this server process during the current session, formatted with timestamps, server, duration, and success status. Purely local and read-only: it opens no SSH connection and does not persist across restarts. Optional filters narrow the results by server name, by success or failure, and by a search substring in the command text; limit defaults to 20 most recent entries. Does not expose command output, only the commands and their outcomes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Number of commands to show (default: 20) | |
| search | No | Search in commands | |
| server | No | Filter by server name | |
| success | No | Filter by success/failure |