.

Configure FileZilla’s SFTP – better than FTP – VPS Bible Pt 12

English   English (change)
Be Sociable, Share!

Set Up Unmanaged VPS (4 Newbies) – Part 12: Setup FileZilla for Secure FTP (SFTP)

filezilla logo image

This tutorial shows you how to configure FileZilla, the most popular Secure FTP (SFTP) client.

Having set up the Nginx web server we’re on the brink of setting up some sites or blogs, but first here’s a handy detour.

Thing is, I’m aware this series will be especially useful to Linux newbies building their first VPS. So, er, that’s like me a few weeks ago then ;) And, having been brainwashed with Windows all these years, I know how difficult it can be to pound the CLI, without so much as a GUI to be able to check on what you’re doing. Kinda discontertin’.

Well, I’m not gonna give you a GUI in this virtual private server install series – mind you, that’s a thought, I guess I’m curious – and am in two minds about even slowing down your server with a control panel, although I plan to do that. But more important is an FTP solution, so you can at least see your directory structure.

[sniplet guvSellBox]
[sniplet vpsIndexSell]
[sniplet video]

Except FTP is bad, no? Unencrypted, all that. We’ll use Secure FTP instead, or SFTP, which uses the same tunnelling as our PuTTY configuration, SSH.

Not only is (S)FTP handy, for us noobs, when it comes to uploading those websites and their assets, but in the rest of this series it’ll help to illustrate the file structure we’ll be creating, on which to hang those sites and blogs.

FileZilla vs WinSCP

Another popular SFTP client is called WinSCP. Personally, I prefer it, because it allows us to set up our connection using the password-protected private authentication key we created in Part 5 – Encrypt Data with OpenSSH & Auto-Login with PuTTY. In other words, with a couple of clicks, you’re into your SFTP in just the same way we log into our VPS using PuTTY and Pageant, using the keyset, not a password.

With FileZilla, on the other hand, while you can use authentication keys, you cannot use passphrase-protected keys and in my opinion, not using a passphrase is just too risky. Here’s the error message that pops up when you try to set up FileZilla using the kind of private key we set up in Part 5.

filezilla convert keyfile screen image

So we’re going to be using our Linux username and password instead to set up FileZilla, which is pretty standard fare anyhow.

Most importantly, both clients use the secure encryption protocol that is most valuable.

Why not just provide a WinSCP Setup Guide?

Despite this shortfall, FileZilla is more user-friendly for newbies, so I’ll show how to set that up. As an addendum to this series, I’ll likely provide a guide for setting up WinSCP as well.

Isn’t it better to skip FTP clients altogether and use the CLI?

Yes. And Linux purists would argue so strongly, because an FTP client is another potential security breach. However, for us less experienced Linux users, the lack of a visual guide is a concern, and it’s easier to make mistakes and lose files.

I think a regular FTP client is a no-no, the command line too complicated, but an SFTP client is a good compromise.

How to Set Up FileZilla

Download FileZilla. Here’s the file or, if you wanna take a peek, here’s the site.

Install it.

Hit CTRL-S to open the Site Manager.

Click on ‘New Site’ and there are four main tabs. We only need to worry about the ‘General’ tab. Here’s some help:-

filezilla settings screen image
  • Host – Use the IP you used setting up PuTTY
  • Port – Use the Port you used with PuTTY
  • Servertype – SFTP – SSH File Transfer Protocol
  • Logintype – Normal
  • User – Your Linux username (not root, the one we created)
  • Password – The password for that user

Click ‘Connect’.

Thassit. You have a window to your Linux box. Count yourself lucky!

Moving Swiftly On

We’ve moved up a gear now.

We’ll find the SFTP client useful in the next part, when we create the file structure for multiple sites and blogs. It’s all free-wheeling downhill from there.

You guessed it, here’s the index ..

[sniplet vpsIndex]

Be Sociable, Share!

Related posts:

  1. Set Up Unmanaged VPS (4 Newbies) – Part 6: Harden the Secure Shell (SSH) & Create a Firewall
  2. Set Up Unmanaged VPS (4 Newbies) – Part 3: Set Up Command Line Interface (CLI) using PuTTY
  3. Set Up Unmanaged VPS (4 Newbies) .. The V-P-S Bible
  4. Set Up Unmanaged VPS (4 Newbies) – Part 5: Encrypt Data with OpenSSH & Auto-Login with PuTTY
  5. Set Up Unmanaged VPS (4 Newbies) – Part 11: Nginx (better than Apache) Web Server

.