Web App Development

Vsftpd 530 login incorrect after adding user on Fedora

For over an hour I got this error when trying to connect to my EC2 ftp server, even though the password was correct:

Command: USER username
Response: 331 Please specify the password.
Command: PASS
Response: 530 Login incorrect.

How to fix: Vsftpd has an ftpusers file in /etc/vsftpd, users listed in that file will not be able to log in via ftp You can use nano to open the file and remove the username:

sudo nano /etc/vsftpd/ftpusers


Follow me on Twitter
I'm building monitoring tool for site speed and Core Web Vitals.
➔ Start monitoring your website or run a free site speed test