Ubuntu 20.04 FTP server vsftpd

Introduction of installing and configuring the vsftpd on Ubuntu 20.04.

 

Install:

sudo apt install vsftpd

 

Configuration:

Past following lines to the end of /etc/vsftpd.conf

cat >> /etc/vsftpd.conf

local_root=/home/xinpengc/ftp_root
chroot_local_user=YES
listen=NO
listen_ipv6=YES
write_enable=YES
allow_writeable_chroot=YES

 

Restart Service:

sudo systemctl restart vsftpd

posted @ 2020-12-18 22:47  xinpengc  阅读(373)  评论(0编辑  收藏  举报