vsftpd

Install vsftpd on CentOS

To install vsftpd in Debian/Ubuntu, run

apt install vsftpd -y

To enable vsftpd start on boot, run

systemctl enable vsftpd

Configure vsftpd, edit

vi /etc/vsftpd.conf

Add

write_enable=YES
chroot_local_user=YES
allow_writeable_chroot=YES
local_umask=002
file_open_mode=0755
force_dot_files=YES
utf8_filesystem=YES

Restart vsftpd with

systemctl restart vsftpd

Create FTP User

useradd -m -s /bin/bash FTP_USERNAME
passwd FTP_USERNAME

ftp

Comments

Leave a Reply

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