​How to Use SFTP with FileZilla to Securely Transfer Files on RunCloud

​How to Use SFTP with FileZilla to Securely Transfer Files on RunCloud

In this tutorial, you will learn how to use SFTP with FileZilla to securely transfer and manage files on RunCloud server.

FTP is not secure

FTP (File Transfer Protocol) uses clear text for all transmissions. Anyone is able to read the FTP usernames, passwords, commands and data by packet capture (sniffing) on the network. By default, RunCloud Firewall blocks FTP (port 21) at your server. You are recommended to use SFTP for file transfer instead.

Tip: You can use RunCloud File Manager in RunCloud panel for simple file management.

What is SFTP?

SSH File Transfer Protocol (SFTP) is a secure file transfer protocol for file access, transfer, and management. It adapts the Secure Shell (SSH) protocol with encryption and secure authentication on both server and client.

SFTP provides two user-authentication options when connecting to your server: a)passwords or b)SSH2 key-based authentication. The SSH Keys is more secure than password.

What is FileZilla?

FileZilla is a free, open source FTP client that supports FTP, SFTP, FTPS. It is available for Windows, Mac OS X, and Linux. Download FileZilla Client.

SFTP via Passwords

Filezilla SFTP via Password

  1. Open FileZilla client
  2. Open Site Manger by clicking the top left icon in menu bar, or press Ctrl+S
  3. Click New Site button and gives a name to the new site connection
  4. At the right side panel enter the following information:
    • Host: [RunCloud server IP address]
    • Port: 22
    • Protocol: SFTP – SSH File Transfer Protocol
    • Logon Type: Normal
    • User: [System User’s username]
    • Password: [System User’s password]
  5. Click Connect button to connect (OK button to save the connection)
  6. Accept fingerprint warning when prompt
  7. You are now connected to RunCloud server via SFTP using password

SFTP via SSH2 Key-based Authentication

If you have not yet create an SSH key pair, then follow one of the two tutorial below:

Method #1

FileZilla SFTP via SSH key

  1. Open FileZilla client
  2. Open Site Manger by clicking the top left icon in menu bar, or press Ctrl+S
  3. Click New Site button and gives a name to the new site connection
  4. At the right side panel enter the following information:
    • Host: [RunCloud server IP address]
    • Port: 22
    • Protocol: SFTP – SSH File Transfer Protocol
    • Logon Type: Key file
    • User: [System User’s username]
    • Key file: [select your SSH private key in .ppk or .pem format]
  5. Click Connect button to connect (OK button to save the connection)
  6. You are now connected to RunCloud server via SFTP using SSH key

Method #2

Add SSH key into FileZilla

  1. Open FileZilla client
  2. In the Edit – Preferences menu, select SFTP under Connection
  3. Click Add key file… button to add your SSH private key (If your key is in OpenSSH format, FileZilla will prompt you to convert it to PuTTY’s PPK format)
  4. Click OK button to save setting and exit Preferences window
  5. Follow Method #1 above but select Interactive for Logon Type

Sources

https://wiki.filezilla-project.org/Howto
https://www.digitalocean.com/community/tutorials/how-to-use-sftp-to-securely-transfer-files-with-a-remote-server

With SFTP access you can build the web application of your dreams, and let RunCloud worry about your server stack. If you want to explore the benefits of the RunCloud platform, sign up for a free trial today, we are sure you won’t regret it!

Ready to get started?

Start your free trial today.

Start My 5-Days Free Trial no credit card required

8 responses to “​How to Use SFTP with FileZilla to Securely Transfer Files on RunCloud”

  1. Adame says:

    Is there any way to restrict each user to its home folder? In a way that they can’t browse other folders except theirs.

    For example, runcloud user should only have access to /home/runcloud

    Right now, it’s set in a way that you can browse on other folders without having any write permission. But you can still check files content.

  2. Angel says:

    I have asked the same thing to support.

    Still waiting for an answer.

  3. Robert says:

    Has the support answered regarding this?

  4. Jojo says:

    Getting permission denied when upload files

  5. pressaholic says:

    Hi Folks!

    When connecting through SSH, you should change ownership of the files you’ve transferred, to the user runcloud, using:
    chown -R runcloud:runcloud /home/runcloud/*

    Hope that helps someone …
    Cheers!

  6. planetahuevo says:

    They replied that they will consider this, more than 3 months ago.
    No more information at all.

    It is a pity. This is essential for any agency or business out there.

Leave a Reply

Your email address will not be published. Required fields are marked *