Read SSH File
unfour.ssh.read_fileRead bounded slices or tail of remote files via SSH to inspect logs and configuration files. Limits output and redacts lines while respecting OS permissions.
Instructions
Reads a bounded remote file slice or tail through SSH. Useful for logs and config inspection. Dev/test/prod allow ordinary reads; output is capped and line-redacted by the SSH engine. Sensitive paths may still be blocked by connection or OS permissions.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| limit | No | ||
| offset | No | ||
| tailLines | No | ||
| timeoutMs | No | ||
| workspaceId | No | ||
| connectionId | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||