ssh_upload_file
Upload local files to a remote host via SFTP using SSH credentials. Provide host, username, local path, and remote path for secure file transfer.
Instructions
Upload a local file to remote host via SFTP channel.
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": {
"host": "<host>",
"username": "<username>",
"localPath": "<localPath>",
"remotePath": "<remotePath>"
},
"name": "ssh_upload_file"
}
}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 file path to upload | |
| remotePath | Yes | Remote target destination path | |
| privateKeyPath | No | Path to private key |