Solved

rsync, rsyncd and ssh

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

Complete Microsoft Windows PC® & Mac Backup

Backup and recovery solutions to protect all your PCs & Mac– on-premises or in remote locations. Acronis backs up entire PC or Mac with patented reliable disk imaging technology and you will be able to restore workstations to a new, dissimilar hardware in minutes.

Join & Write a Comment

This is the error message I got (CODE) Error caused by incompatible libmp3lame 3.98-2 with ffmpeg I've googled this error message and found out sometimes it attaches this note "can be treated with downgrade libmp3lame to version 3.97 or 3.98" …
Network Interface Card (NIC) bonding, also known as link aggregation, NIC teaming and trunking, is an important concept to understand and implement in any environment where high availability is of concern. Using this feature, a server administrator …
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

743 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

11 Experts available now in Live!

Get 1:1 Help Now