Answer the question
In order to leave comments, you need to log in
Why does VSFTPD drop the connection when trying to use the ls command?
After authorization on the server, I can navigate through the directories and create them, but when I try to find out the contents, the server breaks the connection. Example:
Connected to localhost.
220 (vsFTPd 3.0.3)
Name (localhost:ilya): ilya
331 Please specify the password.
Password:
230 Login successful.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> cd etc/ftp
250 Directory successfully changed.
ftp> pwd
257 "/home/ilya/etc/ftp" is the current directory
ftp> ls
200 PORT command successful. Consider using PASV.
421 Service not available, remote server has closed connection
ftp>
anonymous_enable=NO
local_enable=YES
write_enable=YES
dirmessage_enable=YES
xferlog_enable=YES
connect_from_port_20=YES
listen=YES
pam_service_name=vsftpd
local_umask=0666
userlist_enable=YES
userlist_file=/etc/vsftpd.user_list
userlist_deny=NO
Answer the question
In order to leave comments, you need to log in
I guess:
200 PORT command successful. Consider using PASV.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question