ssh_upload
Uploads a single local file to a remote path over SFTP, overwriting any existing file at that destination. Use for quick file pushes when the remote path is writable by the configured SSH user.
Instructions
Uploads one local file to a remote destination path over SFTP on the named server, overwriting any existing remote file at that path. Mutates remote state and is not idempotent beyond replacing the target. Creates no backup. Requires the local file to exist. Does not use sudo, so the remote path must be writable by the configured SSH user. This tool is blocked entirely on servers set to readonly or restricted security mode. For directory trees use ssh_sync instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| server | Yes | Server name | |
| localPath | Yes | Local file path | |
| remotePath | Yes | Remote destination path |