ssh_scp_to
Uploads local files or directories to a remote host via scp, leveraging SSH multiplexing to reuse connections.
Instructions
Upload a local file or directory to the remote host via scp (reuses the multiplexed SSH connection when mux is enabled).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"target": "<target>",
"local_path": "<local_path>",
"remote_path": "<remote_path>"
},
"name": "ssh_scp_to"
}
}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 local_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. |