Transfer Files with FileZilla
Updated by James Stewart Written by Linode
FileZilla is a free, open source file transfer program written for Linux, Mac OS X, and Windows systems. It implements several file transfer protocols, most notably SFTP via SSH. This tool allows you to securely transfer files to and from your Linode using an encrypted channel, avoiding the security problems and usability issues inherent in traditional FTP client/server systems. FileZilla can send both your login credentials and file transfers over the network securely encrypted (provided you’re using SFTP), while standard FTP clients send this information as plaintext.
Prior to following this guide, you will need to ensure that the following steps have been taken on your Linode.
Created a user as per the instructions in our securing your server guide.
Ensure that you can connect to your Linode via SSH.
This guide is written for a non-root user. Commands that require elevated privileges are prefixed with
sudo. If you’re not familiar with the
sudocommand, you can check our Users and Groups guide.
NoteIf you wish, you may use the
rootaccount on your Linode to perform file transfers, although you may need to change file ownership and permissions on the server after doing so.
Windows and OS X users can download FileZilla here.
Linux users can run the following commands to install FileZilla.
sudo apt-get install filezilla
sudo yum install filezilla
Open FileZilla from your Windows start menu, OS X Launchpad, or the launcher provided by your Linux distribution of choice.
Enter your Linode’s IP address or domain name in the “Host” field. Enter the account username you wish to connect as in the “Username” field. Please note that this must be a user account on your Linode; if in doubt, enter “root” to log in as the root user. Enter the account’s password in the “Password” field, and enter “22” in the “Port” field. Click “Quickconnect” to initiate the file transfer session.
If this is the first time you’ve connected to your Linode with an SSH or SFTP program, you’ll receive a warning that the host key is unknown. Place a check mark in the box next to “Always trust this host, add this key to the cache.” Checking this box prevents further warnings unless the key presented to FileZilla changes; this should only happen if you reinstall the remote server’s operating system.
Click the “OK” button to proceed. You’ll be presented with a split view, with your local filesystem on the left and your Linode’s filesystem on the right. You may transfer files by dragging and dropping them between each side.
If you have followed our Securing Your Server guide, you won’t be able to connect to your Linode using a password. If you are using Linux or OS X, the keys that you generated while following that guide will be automatically used for authentication.
NoteIf you are using OS X, the passphrase for your key will need to be stored in your keychain in order to successfully connect via SSH key. FileZilla will not be able to use a key that was generated without a passphrase to connect to your Linode.
If you are using Windows, you’ll need to follow a few additional steps to enable key based authentication. The instructions below assume that you have already completed the guide for generating your SSH key with Putty.
Install Pageant from the Putty site
Start Pagent from your Start menu. In your system tray, you’ll see the Pageant icon appear.
Right-click the icon and select “Add Key”.
Navigate to the location where you stored your keys and select your private key (PPK) file. You will be prompted for your passphrase if you provided one when creating the key.
Launch FileZilla and connect to your server with your username and an empty password. Your key will be used as authentication as long as the Pagent software is running.
You may wish to consult the following resources for additional information on this topic. While these are provided in the hope that they will be useful, please note that we cannot vouch for the accuracy or timeliness of externally hosted materials.
- Transfer Files with Filezilla on Ubuntu 9.10 Desktop - Deprecated
- Transfer Files with Cyberduck on Mac OS X - Deprecated
- Transfer Files with WinSCP on Windows - Deprecated
- Limiting Access with SFTP Jails on Debian and Ubuntu
This guide is published under a CC BY-ND 4.0 license.