File Processor Connector Guide > File Processor Operations > Public and Private Key Based Authentication
  

Public and Private Key Based Authentication

File Processor Connector supports public and private key based authentication for an SFTP server.
File Processor Connector supports public and private key based authentication for an FTP server (FTP over SSH). File Processor Connector supports FTP over SSL. Set the IS_SSL_Enabled filter field to 1 to enable FTP over SSL.

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 Data Synchronization task:
    1. Click Task Wizards > Data Synchronization.
    The Data Synchronization Tasks page appears.
    2. Click New to create a Data Synchronization task.
    3. In the Definition page, configure the following fields:
    Field
    Description
    Task Name
    Name of the Data Synchronization task. For example: File_Process_SFTP_GET.
    Description
    Description of the Data Synchronization task. Maximum length is 255 characters.
    Task Operation
    Select Insert.
    4. Click Next.
    The Source page appears.
    5. In the Source page, configure the following fields:
    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 page appears.
    7. In the Target page, configure the following fields:
    Field
    Description
    Connection
    Select a flat file connection.
    Target Object
    Click Create Target.
    8. Click Next.
    The Data Filters page appears.
    9. In the Data Filters page, create a filter, specify the SFTP_User_ID, SFTP_Hostname, FileName, and SFTP_SSH2_KeyFile as shown in the following image:
    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.
    Note: If you use a pass phrase during the key generation, you must enter it as the data filter in the SFTP_PassPhrase field. Before you enter the pass phrase as a data filter in a Data Synchronization task, specify the pass phrase value as one of the passkey fields in the SFTP connection properties.
    10. Click Next.
    The Field Mapping page appears.
    11. In the Field Mapping page, click Automatch.
    12. Click Validate Mapping.
    13. Save and run the Data Synchronization task.