开启ftp,ssh

ubuntu 开启ftp

  • 安装 vsftpd vsftpd默认是关闭上传权限的,需要手动打开。
sudo apt install vsftpd
sudo vim /etc/vsftpd.conf
<!--修改-->
write_enable=YES:允许写入