SFTP
We will be using an Ubuntu / Debian machine to setup our SFTP server.
Prerequisites
You will need sudo privileges for setting up SFTP in the following steps.
Steps to setup SFTP server
First install OpenSSH server on the server machine:
sudo apt-get install openssh-serverGenerate an RSA key pair:
ssh-keygenYou will be prompted to choose the location to store your RSA private key, press
ENTERto set the default.
Next you will be prompted to enter a passphrase, leave that to default as well by pressingENTER.
Two files will be generated inside~/.sshdirectory namedid_rsaandid_rsa.pubwhere the first one is the private key and latter is the public key.Now copy the contents of your private key and save them to a file on your local machine.
Upload this private key in the
Keystab of CloudTDMS web portal.
Setting up your SFTP storage on CloudTDMS
Open the storages tab and insert the following values for your new SFTP storage
Name: Name for the storage.Hostname: Domain Name or IPv4 address of yourSFTPserver.Port: The port on which yourSFTPserver is running (default is 22).Username: Username of yourSFTPserver.Password: Password of yourSFTPuser (Leave empty if using passwordless authentication).Key File: The contents of the private key file for ssh connection.Path: Path of the folder where CloudTDMS will save the generated files or fetch files for profiling.