Solved

rsync, rsyncd and ssh

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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
ifconfig 4 92
centos commands 6 90
Remove Resilio directory from Netgear ReadyNAS 212 via SSH. 2 67
Advice on ESXi 5.1 Health / Storage 1 43
Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
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.

749 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