How to connect to SFTP in FileZilla using a private key

I've downloaded FileZilla on Ubuntu 14.04 (Trusty Tahr) using the package manager (apt-get) and I'm currently setting up a site to transfer files for on the remote server I'm using.

For the login type, I need to use a private key, but it's not listed as an option. Did I install the wrong version of FileZilla or something? I tried to upgrade the installation, but it says that FileZilla is up to date.


Solution 1:

You have to configure the key authentication.

Open the menu Edit > Settings… and navigate to Connection > SFTP.

Add the key files and you're done.

enter image description here

Solution 2:

The fix for me was to switch the logon type to Key File. In my case, I have an Ubuntu user with the correct permissions which I used the link below to configure.

I had tried the answer above, but it did not work. I guess it may have if the user was in fact root?

Link to create a non root user to log in with SSH key: https://www.digitalocean.com/community/questions/secure-ubuntu-server-for-non-root-user-using-only-ssh-keys

In FileZilla: FileZilla example