Setting up SFTP access
Learn to set up secure SFTP access with Alby by generating a key pair, and connecting to the SFTP server with credentials.
Create .ssh Directory
Open a terminal and navigate to your home directory:
cd ~
Check if the .ssh folder already exists
ls -a
If it doesn't exists, create it:
mkdir .ssh
Generate Public Key
Running the following command:
ssh-keygen
In the .ssh
folder, you will find id_rsa
(private_key) and id_rsa.pub
(public_key).
Send the contents of id_rsa.pub
to alby.
Send Data to SFTP
Once alby creates the SFTP user, you are able to send data. alby will provide you with the username. The username is usually your brand name, with a random string of numbers at the end.
Log into SFTP from the terminal:
sftp -i ~/.ssh/id_rsa [email protected]
Replace sftp_user
with the provided username.
For example:
sftp -i ~/.ssh/id_rsa [email protected]
After connecting, you can send data to SFTP using the put
command.
For example:
put /Users/alby/Desktop/Work/Repo/alby.json
Replace the path with the full path to the file you want to send.
These steps will help you create a public key for SFTP and send data to the SFTP server.
View keys and username
To view your current SSH keys and SFTP credentials within alby, navigate to Settings > SSH Keys. There, you can see your SFTP username, any SSH keys, and when they were added to your account.
To add or modify any SSH keys, contact alby support.

Previous Article | alby Getting Started Guide | Next Article |
---|---|---|
Setting up alby on your website | Importing your product data feed into alby |
Updated 27 days ago