very secure FTP server

Contents:
  1. Install vsftpd
  2. Setup the users
  3. Generate a ssl key
  4. vsftpd.conf
  5. Security Considerations
  6. chroot
  7. Reference

[Top][Home]

vsftpd (or very secure FTP daemon) is the default FTP server in the Ubuntu, CentOS, Fedora, NimbleX, Slackware and RHEL Linux distributions. It is licensed under the GNU General Public License. It supports IPv6, TLS and FTPS (explicit since 2.0.0 and implicit since 2.1.0).

Source: https://en.wikipedia.org/wiki/Vsftpd



[Top][Home]

Install vsftpd



[Top][Home]

Setup the users



[Top][Home]

Generate a ssl key

sudo openssl req -x509 -nodes -days 3650 -newkey rsa:2048 -keyout /etc/ssl/private/vsftpd.pem -out /etc/ssl/private/vsftpd.pem



[Top][Home]

vsftpd.conf

Edit the configuration file:

sudo vi /etc/vsftpd.conf



Restart the vsftd server to oad the changed configuration sudo systemctl restart vsftpd

[Top][Home]

Security Considerations

How To disable anonymous login and to enable local users login and give them write permissions:
https://help.ubuntu.com/community/vsftpd#To_disable_anonymous_login_and_to_enable_local_users_login_and_give_them_write_permissions:



[Top][Home]

chroot

What Is chroot on Linux and How Do You Use It?:
https://www.howtogeek.com/devops/what-is-chroot-on-linux-and-how-do-you-use-it/

[Top][Home]

Reference

How to Setup FTP Server with VSFTPD on Debian 9:
https://linuxize.com/post/how-to-setup-ftp-server-with-vsftpd-on-debian-9/

How to Setup FTP Server with VSFTPD on Debian 12:
https://itslinuxfoss.com/setup-ftp-server-with-vsftpd-debian-12/

VSFTPD.CONF:
http://vsftpd.beasts.org/vsftpd_conf.html

[Top][Home]
:VSFTPD: Very Secure File Transfer Protocol Deamon
https://help.ubuntu.com/community/vsftpd

Glenn Lyons VK4PK
glenn@LyonsComputer.com.au
Ver:gnl2022 - pre published v0.9