Setting up an SFTP (Secure File Transfer Protocol) folder allows secure file transfers between a client and a server. Please follow these steps to configure an SFTP folder
Step 1: Obtain Necessary Credentials
Before setting up a shared folder, we will require that you provide the following items
-
The IP address(es) that will be used for the connection
- Must be a static IP address
- Dynamic IP address or mobile hotspots cannot be used
- An SSH key pair (public and private key) for authentication.
Step 2: Generate an SSH Key Pair (If Not Already Created)
If you do not already have an SSH key, generate one using the following command:
ssh-keygen -t rsa -b 4096 -C "your_email@example.com"This will create a public (id_rsa.pub) and private (id_rsa) key in the ~/.ssh/ directory.
Copy the public key to your clipboard:
cat ~/.ssh/id_rsa.pubPlease refer to this guide for further details regarding generating SSH keys