User GuideReference ManualIntegration Scenarios
 

1.4.6. SFTP Server Gateway In

See: Managing Channels - Manage a Channel

Using the SFTP Server Input Gateway,incoming messages are received on a Babelway specific server and processed as soon as they arrive. The SFTP server gateway supports SFTP version 3 and password and/or publickey user authentication mechanisms.

To create a SFTP server gateway, open the catalogue and select an existing template or make a copy of the generic SFTP server template in the catalogue. The following screen will be displayed.

SFTP server gateway in configuration

Figure 1.16. SFTP server gateway in configuration


The following fields should be defined in order to configure your SFTP server on the Babelway platform:

Hostname

Babelway SFTP server default value is « sftp.babelway.net »

Username

Login or username to access your account on the Babelway SFTP server . This username must be unique as it will be linked to a specific directory on the SFTP server.

Password

The password associated to the previous username to access your account. This can be left empty if you choose to only use the public key authentication mechanism.

Public Key

The public key associated to the previous username to access your account. This can be left empty if you choose to only use the password authentication mechanism. The supported formats are RSA public key (OpenSSH, Putty or DER format). More information about generating such a key can be found at the end of this page.

  • you can set both password and public key fields. In that case, you will be able to connect to your account either by using a password or by using your private key associated with the uploaded public key.

After channel deployment, your SFTP server will be available to send messages. You can access this SFTP server using any SFTP (version 3) client software set up with the previous account parameters.

  • •When a message is received by the SFTP server, it is directly processed. After processing the file is removed from the server

Public key generation

The public key is expected to be in a RSA format (OpenSSH, Putty or DER). If you don’t already have a public/private key, you can generate one using ssh-keygen from OpenSSH :

C:\cygwin\bin>ssh-keygen.exe
Generating public/private rsa key pair.
Enter file in which to save the key (/.ssh/id_rsa): /tmp/identity
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /tmp/identity.
Your public key has been saved in /tmp/identity.pub.
The key fingerprint is:
f0:e4:2f:(...) user@computer