When it comes to connecting to a server to upload or download files using the FTP protocol, Filezilla software has been one of the most widely used. It is a free tool that offers different connection options, including SFTP (FTP over SSH) connections to ensure greater security throughout the process.
In today’s post, we will see how to set up this type of connection using SSH keys. The first thing to do is to make sure that the file containing your private key has a .pem extension. If not, Filezilla will not let you select the file.
Adding SSH keys in Filezilla
As we will see below, adding these keys is a very simple process and will not take much time. To do this, the first thing to do is to open the programme and click on the option to create a new site, which will appear in the “Site Manager” section.
Once inside, we will see the following screen.

The information to be filled in is as follows:
- Server: Indicate the IP address or domain to which you want to connect.
- Port: Here we would indicate the port number over which we will make the SSH connection.
- Protocol: Select SFTP in the drop-down menu.
- Access mode: Select the option “Key file”.
- User: We would have to indicate the name of the user to make the connection.
- Key file: The path where our private key is located.
Once we have indicated all the information, we could start the connection.