小编And*_*rew的帖子

无法使用 vsftpd 在 Debian 上登录 FTP

我正在尝试设置对我的 Apache 服务器的 FTP 访问,但我收到一个530 Login Incorrect错误。

我通过sudo apt-get install vsftpd.

我尝试ftp://(my ip address)与我创建的用户连接,该用户andrew属于ftp用户组。我也试过与root. 我确定密码是正确的。

理想情况下,我希望能够连接到我的/var/www/目录以通过 FTP 客户端上传文件。

这是我的vsftpd.conf文件没有注释的样子:

listen=YES
anonymous_enable=NO
local_enable=YES
write_enable=YES
dirmessage_enable=YES
use_localtime=YES
xferlog_enable=YES
connect_from_port_20=YES
chroot_local_user=YES
secure_chroot_dir=/var/run/vsftpd/empty
pam_service_name=vsftpd
rsa_cert_file=/etc/ssl/private/vsftpd.pem
Run Code Online (Sandbox Code Playgroud)

并附有评论:

# Example config file /etc/vsftpd.conf
#
# The default compiled in settings are fairly paranoid. This sample file
# loosens things up a bit, to make the ftp daemon more usable.
# …
Run Code Online (Sandbox Code Playgroud)

linux unix debian ftp vsftpd

5
推荐指数
1
解决办法
2万
查看次数

标签 统计

debian ×1

ftp ×1

linux ×1

unix ×1

vsftpd ×1