1824857 Members
3942 Online
109674 Solutions
New Discussion юеВ

Re: Configure FTP Server

 
SOLVED
Go to solution
priyarajan
Contributor

Configure FTP Server

hi all

Iam new to RedHat EL4 ,I want to configure FTP server to transfer a file from one machine to another using FTP.

Thanks
4 REPLIES 4
Ivan Ferreira
Honored Contributor

Re: Configure FTP Server

To enable the ftp server use:

service vsftpd start
chkconfig vsftpd on

You cannot access with root for security reasons, use another user account.

If you don't have installed the package, use system-config-packages to add the ftp server, or find the vsftpd rpm package in the cdrom and run:

rpm -ivh vsftpd-.rpm

Then run again the commands above.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Steven E. Protter
Exalted Contributor
Solution

Re: Configure FTP Server

By default root is disabled with ftp.

This is because ftp uses clear text authentication and you don't want the root password going around unencrypted.

For root, use sftp from openssh.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Rick Garland
Honored Contributor

Re: Configure FTP Server

If that other machine is running RH EL4 as well, then the SSH utilities are enabled by default on that other machine as well. Therefore, you can use the 'scp' or the 'sftp' commands to transfer the file from sysA to sysB.

As stated, ftp is not enabled by default. The Secure Shell utilities are enabled by default.
Sung Oh
Respected Contributor

Re: Configure FTP Server

you can consider rsync for file transfer, rsync server can be setup from source server.

by default RedhatEL4 should have rsync server and client rpm files, you need to install it and configure rsyncd.conf file from the source server and you should be able to transfer your files.

Here is rsync info web.

http://samba.org/rsync/

Sung