首先确保Debian客户端网络正常,可通过ping 服务器IP
测试连通性;确认FTP服务器(如vsftpd、FileZilla Server)已启动,使用systemctl status vsftpd
(或filezilla-server.service
)查看服务状态,未启动则执行systemctl start 服务名
。
systemctl status ssh
);ufw
,执行sudo ufw allow 21/tcp
(FTP)或sudo ufw allow 22/tcp
(SFTP);若使用iptables
,执行sudo iptables -A INPUT -p tcp --dport 21 -j ACCEPT
;/etc/ssh/sshd_config
)中PasswordAuthentication yes
(允许密码登录),重启SSH服务(systemctl restart ssh
)。ls -ld /path/to/dir
查看权限,chmod 777 /path/to/dir
临时赋权,生产环境建议用chown
指定用户);sudo apt update && sudo apt upgrade filezilla
;sudo apt remove --purge filezilla && sudo apt install filezilla
(彻底清除旧配置)。FileZilla的日志位于用户主目录的.filezilla
文件夹(~/.filezilla/
),打开“消息日志”查看详细错误信息(如“认证失败”“连接超时”“端口被拒绝”),根据日志提示针对性解决。
UTF-8
;GLIBCXX_3.4.15 not found
):安装对应版本的libstdc++6
(sudo apt install libstdc++6
),或从源码编译安装所需版本;~/.filezilla/fzdefaults.xml
,将<AutoUpdate>1</AutoUpdate>
改为0
关闭自动更新。