SFTP (Secure File Transfer Protocol) is a network protocol that allows the transfer of large data files.
An SFTP server requires both communicating parties to authenticate themselves by providing and validating an SSH key. One-half of the SSH key is stored on the computer of the two clients, while the other half is loaded on the server and associated with their account public. Only when the SSH key pair matches then authentication can occur.
What is sFTP?
A secure way to manage large data imports and to Learn Amp
Particularly useful with data migration and regular, large user imports
How to set up sFTP?
Please note, that only account Owners can manage sFTP
You can access sFTP on Learn Amp by going to the user profile icon>Company Settings>API & sFTP
Step 1: Prepare the tools
There are two main tools that are required to set up an SFTP connection.
SSH Key Pair Generator: This tool is used to generate a public and private SSH key pair. The public key is loaded into Learn Amp and the private key is into the chosen SFTP Client.
Windows users should use Puttygen
Download Putty (0.77) for Windows, Linux, and Mac
Mac users can optionally generate an SSH key pair using the terminal
How to generate an SSH key pair in Mac OS?
SFTP Client: This tool is used to transfer files between your local storage and Learn Amps server. This generally works using the drag-and-drop feature. There are two that we recommend:
WinSCP - it’s used in the instructional guides below.
FileZilla - The free FTP solution - similar to Winscp though some settings may be different
Step 2: Contact our Technical Support
To set up an sFTP connection with Learn Amp we need to enable it for your platform.
Please contact our Technical Support here.
Step 3: Generate SSH key-pair
Open SSH Key Pair Generator. For example: Puttygen
Make sure you tick RSA under Type of key to generate and click Generate. This will generate a public and a private key.
Correct public key will start with ssh-rsa and will be a random string of characters.
3. Save your private key. It is important to save at least the private key, as it cannot be retrieved.
Step 4: Connect to Learn Amp sFTP server
Paste the public key from your key generator to LearnAmp Company settings>API & sFTP>sFTP>SSH Public Key and click Connect to the Learn Amp sFTP server button.
If set up correctly, this screen will now show you sFTP Server URL and your account username.
How to use sFTP
Open sFTP Client. For example: WinSCP
2. Fill in the following:
Host name: sftp.learnamp.com. You can find in: Company settings>API & sFTP>sFTP>sFTP Server URL.
User name: name generated when you connected to Learn Amp. You can find in: Company settings>API & sFTP>sFTP>sFTP account username.
Private key file: click on the Advanced option>Authentication>Private key file>…>pick the file with the private key saved from puttygen
3. Login
Win SCP will show your local files in the window to the left, and the SFTP server folder to the right. Simply drag your files over.
Dragging nested files into the SFTP server will not work. Instead of dragging one folder with ten files across, drag the ten individual files instead.