How to setup FTP server in RHEL 4 Using Public ip?

Dear all,
  My company have 12 branches in different cities.we are using RHEL 4.0 with DB2.Every branch using separate servers.we want to merge the data in one server.Now we are using modem to transfer the data from branches to Coporate office.so in order to avoid modem,we want to setup a FTP SERVER in PUBLIC IP.please help me out to setup a FTP SERVER in RHEL4.0 using PUBLIC IP.

Thanks & Regards,
Mohan  
MohanKrshnaAsked:
Who is Participating?
 
Gabriel OrozcoConnect With a Mentor Solution ArchitectCommented:
rsync is the tool that I would use. you setup a user on all servers where you deposite these files you want to recollect, and then put your ssh public key in that user ./ssh/authorized_keys file. this way rsync will not ask for password.

then it is as simply as launching rsync over ssh, which will be secure and reliable.
you can read some pages about using rsync. here is one:
http://www.linuxquestions.org/linux/answers/Networking/Using_rsync_to_mirror_data_between_servers
0
 
Rance_HallConnect With a Mentor Commented:
is this going to be private corporate data at all?

if yes, DON'T do ftp at all.

if you want anonymous ftp for clients to download patches etc from your server then fine, thats ok, but for internal corporate communication with trade secrets, etc, ftp is a big NO.

use sftp instead.

any openssh server has the ability to sftp as a subshell

so you can sftp files from place to place with all the security of ssh backing you up.

openssh is the way to go.

0
 
MohanKrshnaAuthor Commented:
Dear all,
        Thanks for the suggestions.please help me out ,how to setup the OPENSSH server in RHEL4.0.



0
Cloud Class® Course: Microsoft Azure 2017

Azure has a changed a lot since it was originally introduce by adding new services and features. Do you know everything you need to about Azure? This course will teach you about the Azure App Service, monitoring and application insights, DevOps, and Team Services.

 
Rance_HallCommented:
the package you want to install is called "openssh-server"

the default config works well most of the time, but you should read the documentation to see if you need to change anything.

make sure that openssh-client is installed everywhere, that will give you the ssh command you can use to connect to the sshd server.

0
 
Gabriel OrozcoSolution ArchitectCommented:
openssh is a must in all redhat installs, if you do not explicitely disabled it, then it is there up and running.

you can open a shell prompt and type

ps -efa | grep ssh

you should see a "sshd" program running. it is there and you can just ssh to localhost (your same machine) to test it:

ssh localhost

try it.
0
 
djashleyCommented:
Use SSH and public certificates
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.