ssh_upload_file
Upload a local file to a remote Linux server over SFTP using an exact configured alias, with atomic replacement and automatic backup.
Instructions
Upload a local file to the selected remote server through SFTP. The local path must be absolute; replacement is atomic and backed up by default. SSH credentials are private server-side configuration. Never ask the user for a password. Use ssh_list_servers when the user has not supplied an exact configured alias.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| server | Yes | Exact configured server alias returned by ssh_list_servers. | |
| timeout | No | Transfer timeout in seconds (1–3600), default 300. | |
| localPath | Yes | ||
| remotePath | Yes | ||
| createBackup | No |