SFTP
sftp outbound uploads files to a remote SFTP server.
Structure
{
"type": "sftp",
"tag": "sftp-out",
"host": "example.com",
"port": 22,
"user": "backup",
"password": "",
"private_key": "",
"private_key_passphrase": "",
"path": "/data"
}
Fields
host
Required
The SFTP server hostname or IP address.
port
The SFTP server port.
22 is used by default.
user
Required
The username for authentication.
password
Password for authentication.
Password authentication is not used if empty.
private_key
Path to the private key for authentication.
Key-based authentication is not used if empty.
private_key_passphrase
Passphrase for the private key.
path
Required
The remote path where files will be uploaded.