What problem does it solve?
Simplifies file transfer tasks on SSH-connected hosts by enabling secure and atomic uploads, minimizing the risk of interrupted transfers.
Core Features & Use Cases
- Secure Atomic Uploads: Transfer files securely over SSH connections using an atomic method, reducing the likelihood of interrupted uploads.
- Variety of Payloads: Support for text, base64-encoded binaries, or direct streaming from a local file system path on the SSH host.
- Use Case: When needing to deploy a new version of an application, the
ssh_upload skill allows for seamless file uploads of both configuration files and large binary files, up to 2 GiB, to ensure the transfer is robust and the new files are available even in the event of connection loss.
Quick Start
To upload the latest configuration file for your app on host 'server01', use:
ssh_upload --host server01 --path /etc/config/latest-config.yaml --content_text '/path/to/config'