Two main tasks in setting up sFTP:
- Generate a Secure Shell (SSH) key pair for authentication
- Download and Install FTP client software
1. Installing Required Software
You can use FileZilla or other FTP clients (Cyberduck, Transmit, etc.) that you are familiar with but we suggest using FileZilla.
- Download FileZilla from https://filezilla-project.org/ for Mac
- Install FilleZilla
- For the SSH key generation, you can use the “Terminal” application in your Mac that provides you with text-based command line interface to the Unix shell of Mac OSX.
To open the Mac OS X Terminal, either open your Applications folder, then open Utilities and double-click on Terminal, or press Command - Spacebar to launch Spotlight and type "Terminal," then double-click the search result.
2. Generation of SSH Key pair
The Terminal window opens with the command line prompt displaying the name of your machine and your username. To generate SSH keys, follow these steps:
- Enter the following command in the Terminal window → ssh-keygen -t rsa
- This starts the key generation process. When you execute this command, the ssh-keygen utility prompts you to indicate where to store the key. Default location is /Users/yourusername/.ssh/
- Press the ENTER key to accept the default location. The ssh-keygen utility prompts you for a passphrase.
- Type in a passphrase. (Make sure to make a note of it for future use)
- Your Identification (private key) and Public Key is saved in a specific location that is displayed next.
- Move to the location of the newly generated keys (default location is /Users/yourusername/.ssh/) by running the cd (Change Directory) command (e.g. cd /Users/yourusername/.ssh/)
- Enter the command ls -l, this shows the list of files on the current directory and check if id_rsa and id_rsa.pub files are existing.
- Copy the public key (id_rsa.pub) file and send it to firstname.lastname@example.org via email.
- Geo Team will add your public key to the authorized keys of your sFTP directory in order for you to log-in to it using your private key.
3. Connecting to Geo sFTP Server
NOTE: Before you connect to our sFTP server, ensure that your public key has been processed by Geo Team. Contact us for confirmation.
- Open FileZilla
- Enter the address of the server in the field Host, located in the Quickconnect bar. (sftp.interfaceit.com)
- Enter your username <> (provided by Geo)
- Leave the password blank as we will be using your private key.
- Enter the port number. (port 22 for SFTP)
- On the Edit menu, click Settings
- Under Select Page, click Connection, and then click SFTP
- Click Add key file…
- Browse to the location of your private key (id_rsa) file and select it.
- Once you click Open, an error message will pop-up saying that the private key is not in a format supported by FileZilla. Would you like to convert it into a supported format?
- Click on Yes. (This will basically convert your private key to .ppk file)
- Enter the password / passphrase you entered during the generation of the keys then click on Okay.
- Save it to the same location of your private key.
- It will now show on the list of Private keys.
- Now click on Quickconnect.
- Enter the password / passphrase.
- Once connected, you will now see the root folder of your sFTP directory. You can now start to upload the file to the inbound folder.
For any further queries: