Solved

rsync, rsyncd and ssh

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

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

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

Suggested Solutions

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 …
Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
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…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…

776 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