Skip to main content

SFTP

SFTP (SSH File Transfer Protocol) datasources allow CloudQuant Data Liberator to read CSV, TSV, and other delimited files from remote servers over an encrypted SSH connection. CloudQuant Data Liberator mounts the remote directory via SSHFS/FUSE.
See Supported Data Formats for every file extension Liberator can ingest over SFTP, including formats added in 2.1 and 2.2.

Connection configuration

Required fields

You must provide either password or key for authentication. If both are specified, key-based authentication takes precedence.

Optional fields

Example connection (password authentication)

Example connection (key authentication)

Avoid embedding private keys or passwords directly in configuration files. Use environment variables or a secrets manager to inject credentials at deployment time.

Dataset configuration (data_args)

The data_args fields are identical to all file-based sources. See Local File for the full reference. The file_pattern is evaluated relative to the prefix configured on the connection.

Required data_args

Optional data_args

Complete example

Connection

Dataset

CloudQuant Data Liberator supports reading gzip-compressed files (.csv.gz) transparently. Use compressed files on SFTP connections to reduce transfer time over slow or high-latency links.

Network requirements

Ensure the following network connectivity from the CloudQuant Data Liberator host: