The Data Connector for SFTP enables you to import files stored on your SFTP server to Arm Treasure Data.
Before using this connector, determine valid protocols for your environment.
If you intend to SFTP, you can use this Data Connector for SFTP.
If FTP/FTPS, try connect with FTP Data Connector.
If you are using a firewall, check your accepted IP range/port. Server administrators sometimes change the default port number from TCP/22 for security reasons.
Requires that your private key has an OpenSSH 7.8 format.
Requires that the OpenSSH format private key was generated using the '-m PEM' option.
“PuTTY” and other formats are not supported.
The default format of the private key after OpenSSH.
After installation and configuration, review the job log. Warning and errors provide information about the success of your import. For example, you can identify the source file names associated with import errors.
Use the TD Console to Create your Connection
Open TD Console.
Navigate to Integrations Hub > Catalog.
Search and select SFTP.
The following dialog opens.
Enter the required credentials for your remote SFTP instance. Set the following parameters.
Host: The host information of the remote SFTP instance, for example an IP address.
Port: The connection port on the remote FTP instance, the default is 22.
User: The user name used to connect to the remote FTP instance.
Authentication mode: The way you choose to authenticate with your SFTP server.
Secret key file: Required if 'public / private key pair' is selected from `Authentication Mode`. (The key type ed25519 is not supported but the ecdsa key type is supported.)
Passphrase for secret key file: (Optional) If required, provide a passphrase for the provided secret file.
Retry limit: Number of times to retry a failed connection (default 10).
Timeout: Connection timeout in seconds (default 600).
Select Continue. Type a name for your connection.
If you would like to share this connection with other users in your organization, check the Share with others checkbox. If this box is unchecked this connection is visible only to you.
Search for the connection you created.
Select New Source.
Type a name for your Source in the Data Transfer field.
The Source dialog opens.
Edit the following parameters
The Data Settings page opens.
Optionally, edit the data settings or skip this page of the dialog.
Data preview is optional and you can safely skip to the next page of the dialog if you want.
To preview your data, select Generate Preview. Optionally, select Next.
Verify that the data looks approximately like you expect it to.