Transferring files with FileZilla
You can transfer files from a local computer to a ccloud³ VM at centron using various protocols and file transfer tools. We recommend using SFTP (SSH File Transfer Protocol) with FileZilla. This free, open-source and cross-platform tool has a user-friendly interface that is suitable even for beginners.
If you’re comfortable using the command line, you can also use tools such as rsync and OpenSSH’s sftp and scp. This guide walks you through the initial installation of FileZilla and shows 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.
Install FileZilla
On the computer from which you wish to transfer files, download and install FileZilla. 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 “Add Key File...” and 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 are using 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" feature. This allows you to browse the directories on your ccloud³ VM and find 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’.