Solved

rsync, rsyncd and ssh

Posted on 2006-10-24
3
394 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
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

In this tutorial I will explain how to make squid prevent malwares in five easy steps: Squid is a caching proxy for the Web supporting HTTP, HTTPS, FTP, and more. It reduces bandwidth and improves response times by caching and reusing frequently-…
Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

911 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now