ssh_read_file
Read file contents from a remote Linux machine via SSH. Specify the file path, session, and optional line limit to view partial content.
Instructions
Read the contents of a file on the remote machine.
Args: path: Absolute path to the file session_name: SSH session to use max_lines: Maximum number of lines to read (0 = all lines)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| max_lines | No | ||
| session_name | No | default |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |