The exchange of files between your PC and a Linux-server is an essential part of working with networks. Whether you want to back up data, upload websites, or manage files, the right knowledge about file transfer is crucial. In this guide, I will show you how to securely and easily copy files between your computer and a Linux server using SSH (Secure Shell) and FTP (File Transfer Protocol).
Key Insights
- SSH provides a secure connection between your computer and the server.
- CyberDuck is a recommended FTP client available for both Windows and Mac.
- File transfer is done efficiently and securely through the SSH File Transfer Protocol (SFTP).
Step-by-Step Guide
Step 1: Preparing the Software
To securely transfer files over the network, you need an FTP client. I recommend CyberDuck, a user-friendly software that you can download from cyberduck.io.

Download the software and install it. Note that the Mac version may be chargeable in the App Store, while the version from the website is free.

Step 2: Open CyberDuck and Establish Connection
After installation, open CyberDuck. You will initially be directed to the input mask that allows you to connect to a server.

Click on "Open Connection" and select "SFTP (SSH File Transfer Protocol)" from the protocols, as this ensures a secure connection.
Step 3: Enter Server Information
Now you need to enter the IP address of your Linux server. You can find this in the email you received from your hosting provider or you can determine it in the terminal. Simply type the command ifconfig and look for the corresponding inet address.

Enter the IP address in CyberDuck. Keep the port set to the default 22 and enter your username that you set up when configuring the server.

Step 4: Confirm Connection
Click on "Connect." You will now be asked for the server's fingerprint to ensure the connection is secure. Click "Yes" to accept the connection.

If you are successfully connected, you will land in your home directory on the server. You will now see the same directories as on your own computer.

Step 5: Transfer Files
Now you can start the file transfer. Open Finder or File Explorer and locate the file you want to upload. Simply drag and drop the file into the relevant directory on the server, such as the "Downloads" folder.

While uploading, you will see a progress window. There are options for confirmation, such as allowing the upload always.

After the transfer is complete, you can check the target folder on your Linux server to confirm that the file has been successfully uploaded.

Step 6: Further Applications
Transferring files works identically on Windows and Mac. This method is especially useful when you need to create websites or manage other projects on your server, such as uploading WordPress.

If you have any questions about this tutorial, feel free to leave a comment or send me a message. I am happy to help!
Summary – Safely Copying Files with SSH and FTP
In this guide, you learned how to securely transfer files to a Linux server using SSH and FTP. You learned how to use CyberDuck to establish a secure connection and easily transfer files.
Frequently Asked Questions
What is SSH?SSH stands for Secure Shell and enables secure connections over networks.
How do I install CyberDuck?You can download and install CyberDuck for free from the website cyberduck.io.
How do I find the IP address of my Linux server?You can find the IP address in your hosting provider's email or retrieve it using the ifconfig command in the terminal.
Can I also use CyberDuck on Windows?Yes, CyberDuck is available for both Windows and Mac.
Could I use other software for the transfer?Yes, there are many FTP clients, but CyberDuck is recommended for its user-friendliness.