ssh_upload_file
Upload a local file to a remote host via SFTP. This tool transfers files needed for debugging or exploitation in CTF challenges on the PWN-MCP platform.
Instructions
Upload a local file to the remote host via SFTP.
Transfer a file from the local machine to the connected remote server.
Args: local_path: Path to the local file to upload. remote_path: Destination path on the remote host.
Returns: Upload confirmation message.
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": {
"local_path": "<local_path>",
"remote_path": "<remote_path>"
},
"name": "ssh_upload_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| local_path | Yes | ||
| remote_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |