Tutorial - Creating and Manually Starting an SFTP Server

In this tutorial, you will:

  • Create an SFTP server.
  • Manually launch the server.
  • View server details.


Step 1

From the UDMG navigation pane, select Management > Servers. The Servers list displays.

Step 2

Click New. The Server Details displays.

  • In the Server Name field, enter stonebranch-sftp-01
  • In the Protocol field, select SFTP
  • In the IP Address field, enter 0.0.0.0
  • In the Port field, enter 4000
  • In the Root Directory field, enter data
  • In the Receive Directory field, enter sftp-01/in
  • In the Send Directory field, enter sftp-01/out
  • In the Temp Directory field, enter sftp-01/tmp

Step 3

Click Save and Confirm.

Step 4

Generate a host key (private SSH key) for the server, for example:

$ ssh-keygen -t rsa -b 4096 -C "stonebranch-cert-01" -m PEM -f "stonebranch-cert-01.crt" -N ""
Generating public/private rsa key pair.
Your identification has been saved in stonebranch-cert-01.crt.
Your public key has been saved in stonebranch-cert-01.crt.pub.
Step 5

Select the stonebranch-sftp-01 server from the Server list panel and click the Certificates tab.

Step 6

Click the Add Certificate button

Step 7

The Certificate Details displays.

  • In the Name field, enter stonebranch-cert-01.
  • In the Private Key field, select enter the content of the file stonebranch-cert-01.crt:

Step 8

Click Save and Confirm.

Step 9

The certificate record appears in the list:

Step 10

Restart the MFT Waarp Gateway linux serviceL

systemctl restart mft_waarp_gateway
Step 11Login again to the UDMG User Interface.
Step 12

Click to MFT Server Status button to show the list of running services.

The new server stonebranch-sftp-01 is listed and should appear with a green status which means there is now a SFTP server listening on the IP and port that we configured.