ssh_upload_file
Upload a local file to a remote host using SFTP. Provide session ID, local path, and remote destination to transfer files securely.
Instructions
Upload a local file to the remote host via SFTP.
Args: session_id: The session ID returned by ssh_connect. local_path: Path to the file on the local machine. remote_path: Destination path on the remote host.
Returns: Confirmation message with file size.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | ||
| local_path | Yes | ||
| remote_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |