Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

FTP error "530 Login authentication failed"

Tags:

ftp

ftp-client

When I try to connect to my ftp server through firefox or IE I got this message:

530 Login authentication failed

Why I get this message? User name and password are correct.

Are their any requirements that I need to do on the local machine before log into the ftp server?

I used ftp://example.com to log in.

like image 618
Rachi Avatar asked Oct 07 '22 18:10

Rachi


2 Answers

You need to make some changes in /etc/vsftpd.conf, particularly you need to set

pam_service_name=ftp

If you want to set access by default for the /var/www directory for local users you can do that with

local_root=/var/www

If you require a different directory you need to change /var/www. After making changes to /etc/vsftpd.conf you need to restart the vsftpd server with

sudo service vsftpd restart
like image 160
Jayesh Kalkani Avatar answered Oct 13 '22 11:10

Jayesh Kalkani


My password had a decimal (e.g Tomatoes.X) --> after removing the dot(.) I was able to log in.

like image 27
macha Avatar answered Oct 13 '22 11:10

macha