July 3, 2007
I have a problem with my ftp server on my fedora linux machine.?
When I connect I get the following error even though the password is correct:
- [kvijay@smi-cluster01 ~]$ ftp machineName
- Connected to machineName.Stanford.EDU.
- 220 (vsFTPd 2.0.5)
- 530 Login incorrect.
- 331 Please specify the password.
- Password:
- Name (isearch:kvijay): kvijay
- Any idea what is the problem? I have the vsftpd daemon running, but this error persists? Does vsftpd support regular ftp (port 21) or only secure ftp? If it supports regular ftp, any idea what settings I need to fix to remove this problem? If not, can you recommend some ftp server easy to download and install.
- Login failed.
- 530 Please login with USER and PASS.
- KERBEROS_V4 rejected as an authentication type
- vsftp uses port 21, but you might need connection tracking enabled for the firewall, and check tcp_wrappers (/etc/hosts.allow, and /etc/hosts.deny)
add a line like this to /etc/hosts.allow, to allow connection form the local subnet:
vsftpd: 192.168.0.
or to allow all connections
vsftpd: ALLIf you're using iptables add port 21, and also add connection tracking.
iptables -A INPUT -s 192.168.0.0/24 -p tcp –dport 21 -j ACCEPT
service iptables save
modprobe ip_conntrack_ftp
then in /etc/sysconfig/iptables-config file:
add
IPTABLES_MODULES="ip_conntrack…Look in /etc/vsftpd/vsftpd.conf
If you have
local_enable=NO
then users can't login.Try connecting as an anonymous user.
For security info check the redhat manuals online
https://www.redhat.com/docs/manuals/ente…vsftp is the recommended program. It just takes a little configuration.























