Today, when using the CentOS vsftpd service, you connect using the FTP tool, and suddenly the following error occurs:
C:\users\administrator>ftp 192.168.1.6
Connected to 192.168.1.6.
OOPS:vsftpd:cannot locate user specified in ' ftp_userhttp://www.aliyun.com/zixun/aggregation/11696.html ' >name ': ftp
The remote host shuts down the connection.
Originally, because of security settings, FTP and other anonymous users to delete processing, so when reading the vsftp.conf configuration file, an error occurred, we need to modify the parameters
[Root@localhost ~]# vi/etc/vsftpd/vsftpd.conf
Found it:
Anonymous_enable=yes
Modified to:
Anonymous_enable=no
Reboot vsftpd to make configuration effective
[root@localhost ~]# Service vsftpd restart
Close vsftpd:[OK]
VSFTPD start vsftpd:[OK]
Reconnect with the FTP tool to get back to normal!
C:\users\administrator>ftp 192.168.1.6
Connected to 192.168.1.6.
VSFTPD 2.2.2
Users (192.168.1.6: (None)): Sunco
331 Please specify the password.
Password:
230 Login successful.
Ftp>