ssh_read_file
Read files from remote hosts via SFTP by providing host, path, and SSH credentials to retrieve contents without manual login.
Instructions
Read a file from a remote host via SFTP.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | SSH hostname or IP address | |
| port | No | SSH port (default: 22) | |
| username | No | SSH username (default: current user) | |
| privateKeyPath | No | Path to SSH private key | |
| password | No | SSH password (prefer keys) | |
| path | Yes | Absolute path to the remote file |