Solve the problem of OOPS:vsftpd:cannot locate user specified in ' Ftp_username ': FTP

Source: Internet
Author: User
Keywords Ftp vsftpd oops ftp_username
Tags aliyun centos connect connected error ftp ftp tool ftp_username

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>

Related Article

Beyond APAC's No.1 Cloud

19.6% IaaS Market Share in Asia Pacific - Gartner IT Service report, 2018

Learn more >

Apsara Conference 2019

The Rise of Data Intelligence, September 25th - 27th, Hangzhou, China

Learn more >

Alibaba Cloud Free Trial

Learn and experience the power of Alibaba Cloud with a free trial worth $300-1200 USD

Learn more >

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.