Transferring files with FileZilla
Using various protocols and data transfer tools, you can transfer files from a local computer to a ccloud³ VM at centron. We recommend using SFTP (SSH File Transfer Protocol) with FileZilla, as it is a free, open-source and cross-platform tool with a user-friendly interface that is also suitable for beginners. If you’re comfortable using the command line, you can also use tools such as ‘rsync’, ‘OpenSSH’s sftp’ and ‘scp’. This guide will walk you through the initial installation of FileZilla and show you how to transfer files to your ccloud³ VM via an SSH connection.
For security reasons, we recommend using SSH keys with SFTP. If you are not yet using SSH keys to connect to your ccloud³ VM, please set them up.
Installing FileZilla
On the computer from which you wish to transfer files, download and install FileZilla. Now select the version for your operating system.
On Debian-based Linux distributions, such as Ubuntu, you can alternatively install FileZilla using the APT package manager:
sudo apt-get update
sudo apt-get install filezilla
Configuring FileZilla
Once you have installed FileZilla, you will need to configure it to connect to your ccloud³ VM.
-
Open FileZilla, then click ‘Settings’ in the ‘Edit’ drop-down menu.
-
In the ‘Connection’ section, click ‘SFTP’. Here, add the private SSH key for your ccloud³ VM. Click on ‘Add Key File...’, then browse to the private SSH key for your ccloud³ VM on your local computer. If FileZilla prompts you to convert the file to a supported format, click ‘Yes’.
-
Once you have added the SSH key, open the ‘File’ drop-down menu and click on ‘Server Manager’. The Server Manager allows you to add, remove and manage servers and devices to which you wish to connect using FileZilla.
-
Click on ‘New Server’ and enter the name of your ccloud³ VM. In the ‘Protocol’ field, select ‘SFTP’ from the drop-down menu. Enter the details for the following fields:
-
Host: The IP address of your ccloud³ VM.
-
Port: Enter the port you wish to use to connect to the ccloud³ VM (port 22 is the default).
-
Login type: Select 'Interactive'.
-
User: Enter the username you use to log in to the ccloud³ VM (root is the default username on most VMs).
-
-
Once you have entered your settings, click on ‘Connect’. The status bar at the top of the window shows the connection status.
Transferring files using FileZilla
Once you are connected to the ccloud³ VM, use the "Local" pane to browse the directories on your local computer and locate the files you wish to upload. Right-click on the file you wish to transfer to the ccloud³ VM, then click ‘Upload’.
To transfer files from the ccloud³ VM to your local computer, use the ‘Remote’ pane to browse the directories on your ccloud³ VM and locate the files you wish to download to your local computer. Right-click on the file you wish to transfer from the ccloud³ VM, then click ‘Download’.