File Processor Connector

File Processor Connector

Using Public and Private Key Based Authentication for an SFTP Server Example

Using Public and Private Key Based Authentication for an SFTP Server Example

File Processor Connector supports public and private key based authentication for an SFTP server.
When you transfer or upload files from a local system to an SFTP server, or download files from an SFTP server to a local file system, you can use private or public key based authentication. In this example, you download files from an SFTP server to a local file system and you want to use private key based authentication. You can specify the SFTP_User_ID, SFTP_Hostname, FileName, and SFTP_SSH2_KeyFile as data filters.
Perform the following steps to create a
synchronization
task:
  1. In
    Data Integration
    , click
    New
    Tasks
    .
  2. Select
    Synchronization Tasks
    , and click
    Create
    to create a synchronization task.
    The
    Definition
    tab appears.
  3. Configure the following fields on the
    Definition
    tab:
    Field
    Description
    Task Name
    Name of the
    synchronization
    task. For example: File_Process_SFTP_GET.
    Description
    Description of the
    synchronization
    task. Maximum length is 255 characters.
    Task Operation
    Select Insert.
  4. Click
    Next
    .
    The
    Source
    tab appears.
  5. Configure the following fields on the
    Source
    tab:
    Field
    Description
    Connection
    Select the connection you created. For example: File_Process_SFTP_GET.
    Source Type
    Select Single.
    Source Object
    Select SFTP_GET.
  6. Click
    Next
    .
    The
    Target
    tab appears.
  7. Configure the following fields on the
    Target
    tab:
    Field
    Description
    Connection
    Select a flat file connection.
    Target Object
    Click Create Target.
  8. Click
    Next
    .
    The
    Data Filters
    tab appears.
  9. Create a new filter and filter by the SFTP_User_ID, SFTP_Hostname, FileName, and SFTP_SSH2_KeyFile fields on the
    Data Filters
    page.
    The following image shows the
    Data Filters
    page
    You must enter the complete private key file path as the data filter in the
    SFTP_SSH2_KeyFile
    field. In this example, the private key file path is
    C:\a_IOD\Files\FileProcessor\ICS-9902\test_private.ppk
    .
    File Processor Connector supports private keys only with the
    .pvk
    extension when the private keys have a passphrase.
    If you use a passphrase during the key generation, you must enter it as the data filter in the
    SFTP_PassPhrase
    field. Before you enter the passphrase as a data filter in a
    synchronization
    task, specify the passphrase value as one of the passkey fields in the SFTP connection properties.
  10. Click
    Next
    .
    The
    Field Mapping
    tab appears.
  11. Click
    Automatch
    on the
    Field Mapping
    tab to map source fields to target fields accordingly.
  12. Click
    Validate Mapping
    to validate the mapping.
  13. Click
    Save
    and then
    Finish
    .
  14. From the
    Explore
    page, select the task, and click
    Actions
    Run
    .
    In
    Monitor
    , you can monitor the status of the logs after you run the task.

0 COMMENTS

We’d like to hear from you!