Solved

rsync, rsyncd and ssh

Posted on 2006-10-24
3
399 Views
Last Modified: 2008-03-06

Hello,

I user rsync for synching two servers and works fine but I'm not familar with rsyncd and rsyncd.conf files.

1)What should I learn about these two ? as  daemon and the configuration file?

2)What happens if one of the two servers I user for rsync doesn't have rsync installed.Let's say I send files from machine A to machine B. My rsync is on A. Do I need a rsync on machine B as well?

3)What happens if I don't have ssh on machine B? can I still transfer my files to machine B?

4)When do I have to user rsyncd.conf file?

Thanks
0
Comment
Question by:akohan
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 14

Accepted Solution

by:
ygoutham earned 250 total points
ID: 17801491
1.  read through the man page of rsyncd.conf

rsyncd.conf is more like a smb.conf file where you specify the shares on a machine.  you can use the chroot = yes option to contain the users from seeing only those specific directories for share.

this is when you do not have a SSH access to the remote machine FROM which you want to copy.  it opens up port 873 and listens as a daemon for incoming connections and makes available all shares specified in rsyncd.conf

2.  you can specify the direcotires that you want to share for syncing with some other system.  the rsyncd.conf file should be created in the FROM machine when you are copying files.

the TO machine needs to have only the rsync command run to get the directories from the other machine.

3.  see answer 1

4.  when you want only specific directories that are to be shared for syncing and do not want to enable ssh and feel that the user should not see other files on the system, then you can specify the rsyncd.conf

goutham
0

Featured Post

[Webinar] Code, Load, and Grow

Managing multiple websites, servers, applications, and security on a daily basis? Join us for a webinar on May 25th to learn how to simplify administration and management of virtual hosts for IT admins, create a secure environment, and deploy code more effectively and frequently.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

I am a long time windows user and for me it is normal to have spaces in directory and file names. Changing to Linux I found myself frustrated when I moved my windows data over to my new Linux computer. The problem occurs when at the command line.…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Suggested Courses

739 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question