软件:VSFTPD
环境:阿里云ecs-centos7
0X00
问题:systemctl restart vsftpd.service重启动出现:
“Job for vsftpd.service failed because the control process exited with error code. ”
解决:
一般是修改过文件/etc/vsftpd/vsftpd.conf的末尾存在空格,删了就好,中文注释也不要有
0X01
问题:
ftp> ls
227 Entering Passive Mode (172,18,180,188,253,143).
425 Security: Bad IP connecting.
解决:
在/etc/vsftpd/vsftpd.config 添加以下
pasv_enable=YES
pasv_address= #我的外网IP
pasv_min_port=1024
pasv_max_port=2048
pasv_promiscuous=YES #关闭PASV模式的安全检查
0X02
问题:Windows系统访问搭建的FTP时 出现“FTP文件夹错误”
解决
设置IE浏览器>>Internet选项>>高级>>将“使用被动FTP(用于防火墙和DSL调制解调器的兼容)”选项去掉>>确定即可