Which FTP server is the safest? In Unix and Linux, vsftpdVery Secure FTP Daemon is first introduced, which is a very Secure FTP server ). As the name implies, vsftpd is a very secure file transfer protocol service. The starting point of vsftpd design is security. Some large sites such as RedHat, Debian, GNU, GNOME, and KDE all use vsftpd as their FTP servers.
BKJIA recommended topics: getting started with vsftpd-installation, configuration, cases, and FAQs
Install vsftpd
Path:/usr/ports/ftp/vsftpd Command: make install; make clean Syntax: Vsftpd [set file path] |
Parameter Introduction
There is only one parameter, that is, you can specify the location of the file.
Default:/usr/local/etc/vsftpd. conf |
Configuration File
The configuration file of the vsftpd server is/etc/vsftpd. conf, which has many configuration options. Here I only select several common configuration options.
1) allow local users to log on
2) allows anonymous users to log on to upload and modify files.
Set: anonymous_enable = YES Anon_other_write_enable = YES Anon_mkdir_write_enable = YES |
In addition, with system permissions, this directory must be able to write (ftp) accounts.
3) Restrict Anonymous Users from logging in completely:
Set: anonymous_enable = NO |
4) restrict certain users from logging on:
The object is an anonymous user:
deny_email_enable=YES bannned_email_file=/usr/local/etc/vsftpd.banned_emails |
Add an email address in one row to the specified file.