Setting Up FTPS on Ubuntu 12.04 LTS (Precise Pangolin) With VSFTPD

This is a quick ‘n’ dirty version of an excellent post on by epimeteo which describes the in-depth configuration options of VSFTPD, so if you’re an advanced user you should probably go and read it.

However, if all you want is a quick FTPS server and don’t particularly care about user restrictions, IP or connection restrictions this is the post for you…

Install VSFTPD

apt-get install vsftpd

Edit the config file

nano -w /etc/vsftpd.conf

Within the config file make the settings read as follows (uncomment as appropriate)


Add some new settings at the bottom to enforce the SFTP part


Save it and then start the VSFTPD server

service vsftpd start

That’s all there is to it – you should now be able to login to your server using SFTP!

6 thoughts on “Setting Up FTPS on Ubuntu 12.04 LTS (Precise Pangolin) With VSFTPD”

  1. The ports are not my point. And the link you have provided just show what i say perfectly. Read this part: “SFTP is often confused with FTPS and vice-versa even through these protocols share nothing in common except their ability to securely transfer files. SFTP is actually based on the SSH (Secure Shell)…”

    Your article talk about SSL all the time. So it’s FTPS.

  2. Sorry to disappoint you Phil, but this is FTPS / FTPES and not SFTP. SFTP uses the OpenSSH server (or equivalent SSH server) and SCP like behaviour whilst what you’ve described uses FTP over TLS via the Vstpd server and OpenSSL. In addition, enabling SSL v2 and SSL v3 is discouraged because of their weaknesses and should only be used for legacy purposes.

Leave a Reply

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