SFTP (Source)
Downloads files from an SFTP server.
Configuration
yaml
source:
kind: sftp
host: sftp.example.com
username: user
password: ${SFTP_PASSWORD}
remote_path: "/data/*.json"| Field | Default | Description |
|---|---|---|
host | (required) | SFTP server hostname |
port | 22 | SSH port |
username | (required) | SSH username |
password | Password authentication | |
private_key_path | Path to SSH private key | |
remote_path | (required) | Remote file path or glob |
Namespace: sftp.{filename}
CLI
bash
skippr connect source sftp \
--host sftp.example.com \
--username myuser \
--private-key-path ~/.ssh/id_rsa \
--remote-path /data/exports/| Flag | Description |
|---|---|
--host | SFTP server hostname |
--port | SSH port (default: 22) |
--username | SSH username |
--password | Password (or use --private-key-path) |
--private-key-path | Path to SSH private key |
--remote-path | Remote file path or glob pattern |
