📅  最后修改于: 2022-03-11 14:49:29.611000             🧑  作者: Mango
sudo apt install vsftpd
sudo echo write_enable=YES >> /etc/vsftpd.conf
sudo systemctl restart vsftpd
# if running a UFW firewall do:
sudo ufw allow 20:21/tcp
sudo ufw allow 30000:31000/tcp
sudo ufw allow OpenSSH
sudo ufw disable && sudo ufw enable