ssh_download_file
Download a file from a remote server to your local machine over SFTP. Specify host, credentials, and paths to initiate the transfer securely.
Instructions
Download a remote file to local host via SFTP channel.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | Target host IP or domain | |
| port | No | SSH port | |
| password | No | SSH password | |
| username | Yes | SSH username | |
| localPath | Yes | Local destination path | |
| remotePath | Yes | Remote file path to download | |
| privateKeyPath | No | Path to private key |