ssh_history
View SSH command history from the current session with timestamps, server, duration, and success status. Filter by server, search text, or success to find specific commands.
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 |