1. MagicESP
  2. Ubuntu Server 22.04
  3. Install FTP Server on Ubuntu 16.04

Install FTP Server on Ubuntu 16.04

outdated!

vim /etc/shells

Add our file /bin/false to the list of valid shells. 
apt-get install vsftpd
vim /etc/vsftpd.conf
anonymous_enable=NO
local_enable=YES
write_enable=YES
chroot_local_user=YES

service vsftpd restart
adduser --shell /bin/false myftp
mkdir /home/myftp/upload && chown myftp:myftp /home/myftp/upload
chmod a-w /home/myftp

Disable SSH Login For FTP User