ssh_tail_file
Read the last lines of a remote log file by specifying the server alias and path. Get recent log entries with a 30-second timeout and capped output.
Instructions
Read the last lines of a remote log file on the selected server. Output is capped and the timeout is 30 seconds. SSH credentials are private server-side configuration. Never ask the user for a password. Use ssh_list_servers when the user has not supplied an exact configured alias.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| lines | No | ||
| server | Yes | Exact configured server alias returned by ssh_list_servers. |