scp
Copy files between local and remote systems using SFTP. Upload files to remote hosts or download files from them with secure authentication.
Instructions
Copy files to or from a remote host using SFTP (SCP-like)
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | Yes | Target host | |
| user | Yes | Username | |
| direction | Yes | Direction: upload (local to remote) or download (remote to local) | |
| localPath | Yes | Local file path (source for upload, destination for download) | |
| remotePath | Yes | Remote file path (destination for upload, source for download) | |
| privateKey | No | Private key for authentication (PEM format, optional, or path to key file) |