I have a web hosted on a sever where i have created an ftp user. now i m trying to access that ftp from a vps but when i give password it says me authentication faild.
[root@vps ~]# ftp ftp.asifrazaprep.com
Connected to ftp.asifrazaprep.com (174.142.92.112).
220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------
220-You are user number 6 of 50 allowed.
220-Local time is now 06:21. Server port: 21.
220-This is a private system - No anonymous login
220-IPv6 connections are also welcome on this server.
220 You will be disconnected after 15 minutes of inactivity.
Name (ftp.asifrazaprep.com:root): testuser
331 User testuser OK. Password required
Password:**********
530 Login authentication failed
Login failed.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp>
this is what i m getting in log file grep fpt /var/log/messages
Mar 27 17:06:14 vps xinetd[1512]: START: ftp pid=28250 from=208.111.39.5
Mar 27 17:06:14 vps proftpd[28250]: vps.server.com (208.111.39.5[208.111.39.5]) - FTP session opened.
Mar 27 17:06:14 vps proftpd[28250]: vps.server.com (208.111.39.5[208.111.39.5]) - client sent too-long command, ignoring
Mar 27 17:06:16 vps proftpd[28250]: vps.server.com (208.111.39.5[208.111.39.5]) - FTP session closed.
Mar 27 17:06:16 vps xinetd[1512]: EXIT: ftp status=0 pid=28250 duration=2(sec)
Mar 27 17:06:16 vps xinetd[1512]: START: ftp pid=28251 from=208.111.39.5
Mar 27 17:06:16 vps proftpd[28251]: vps.server.com (208.111.39.5[208.111.39.5]) - FTP session opened.
Mar 27 17:06:16 vps proftpd[28251]: vps.server.com (208.111.39.5[208.111.39.5]) - FTP session closed.
Mar 27 17:06:16 vps xinetd[1512]: EXIT: ftp status=0 pid=28251 duration=0(sec)
Perhaps the password was too long ?
You really should know where your FTP server writes its login and authentication logs; this is crucial information.