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-server
Generate an RSA key pair:
ssh-keygen
You will be prompted to choose the location to store your RSA private key, press
ENTER
to 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~/.ssh
directory namedid_rsa
andid_rsa.pub
where 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
Keys
tab 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 yourSFTP
server.Port
: The port on which yourSFTP
server is running (default is 22).Username
: Username of yourSFTP
server.Password
: Password of yourSFTP
user (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.