Installing and configuring the ftp-server vsftpd in Debian / Linux it VULTR

How to install ftp-server vsftpd?
# Apt-get install vsftpd

Vsftpd configuration file is in /etc/vsftpd.conf
# Run vsftpd in independent mode
listen = YES

# Enable anonymous access
anonymous_enable = YES

# Anonymous connect without a password
no_anon_password = YES

# Anonymous enter the directory
anon_root = / var / pubftp
anon_umask = 022

# Includes entry to local users with write access to the home directory
local_enable = YES
write_enable = YES
local_umask = 022

# Local users can log in only home directories
chroot_local_user = YES
chroot_list_enable = NO

# Logging in own magazine
xferlog_enable = YES
xferlog_file = / var / log / vsftpd.log

# Other settings
max_clients = 10
max_per_ip = 5
hide_ids = YES
idle_session_timeout = 600
data_connection_timeout = 120
dirmessage_enable = YES
ftpd_banner = Welcome!

Restart vsftpd:
# /etc/init.d/vsftpd Restart

Leave a Reply

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