ssh_download
Download files from remote hosts to local filesystem securely via SFTP. Provide host, remote path, and local path to initiate transfer.
Instructions
Download a file from a remote host to local filesystem via SFTP.
Input 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. STRONGLY prefer key-based auth (privateKeyPath or ssh-agent). Passwords pass through MCP protocol frames as plaintext and may be logged by the transport or host process. | |
| remotePath | Yes | Absolute path to the remote file | |
| localPath | Yes | Local path to save the downloaded file |