sftp_read
Read a text file from one of your servers over SFTP and return its contents. Files over 512 KB or non-text (binary) files are refused — use ssh_exec (e.g. sed/tail) for those.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | Server id from hosts_list | |
| path | Yes | Absolute or home-relative file path | |
| username | No | Login user (defaults to the tunnel's user, else root) |