ssh_scp_from
Download files or directories from a remote SSH host to your local machine via SCP, reusing multiplexed SSH connections when enabled.
Instructions
Download a remote file or directory to the local machine via scp (reuses the multiplexed SSH connection when mux is enabled).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | Yes | SSH target in the form user@host[:port]. Uses the local SSH config and keys. | |
| recursive | No | Required when remote_path is a directory. | |
| local_path | Yes | Absolute or relative path on the local machine. | |
| timeout_ms | No | ||
| remote_path | Yes | Absolute or relative path on the remote host. |