Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm looking for a way to configure the ftp setting in my Redhat EL 5.4 (64bit) server in order to transfer some files from my client machine. I have search all over the net but couldn't find any good resources. I'm really new to Redhat and requesting a proper guidance.


share|improve this question
up vote 1 down vote accepted

Try something like this:

# yum install vsftpd
# nano /etc/vsftpd/vsftpd.conf
# chkconfig vsftpd on
# service vsftpd start
# nano /etc/sysconfig/iptables
   -A RH-Firewall-1-INPUT -m state --state NEW -p tcp --dport 21 -j ACCEPT
# service iptables restart
share|improve this answer
Hi, where do I add the chroot_local_ser=YES in the vsftpd.conf. I didn't see this line on that file... – Switch Apr 8 '10 at 8:03
If you want to chroot your users (jail them to their homedir) you just add "chroot_local_user=YES" somewhere in the vsftpd.conf file. – rkthkr Apr 8 '10 at 8:26
Plus I'm getting an error 530 Permission denied – Switch Apr 8 '10 at 8:26
Set: anonymous_enable=NO in vsftpd.conf – rkthkr Apr 8 '10 at 8:45
Did it but not working, works only for normal users – Switch Apr 8 '10 at 8:54

Not exactly an answer, but I would recommend using SFTP instead of FTP. It's easier to setup given the fact that every box comes with the OpenSSH server and client. It's also more secure and SSHFS is nice bonus, although I don't know if RHEL has support for it.

share|improve this answer
You could also use scp for simple file transfers. – Richard Holloway Apr 8 '10 at 9:37

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.