Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'rsync w/o daemon' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
rsync w/o daemon
Authored by: copelanduk on Oct 25, '02 06:32:44AM
I copied the text below from the rsync man page, this is the section on the different ways rsync can be used:
1. for copying from the local machine to a remote machine using a remote shell program as the trans- port (such as rsh or ssh). This is invoked when the destination path contains a single : separator. 2. for copying from a remote machine to the local machine using a remote shell program. This is invoked when the source contains a : separator. 3. for copying from a remote rsync server to the local machine. This is invoked when the source path con- tains a :: separator or a rsync:// URL. 4. for copying from the local machine to a remote rsync server. This is invoked when the destination path contains a :: separator.
In my case I am using server:~/ (not server:: as in the original hint) and specifying to use ssh with the -e switch so I am using method 1. (to server) and 2. (from server). Whatever method you use you to authenticate with ssh will also apply for the rsync over ssh connection. After you enter the rsync command ssh will make a connection and prompt you for your account password if necessary. In my case I use key exchange so I can just enter the rsync command from my previous post and it will run right away. (I've got several different rsync commands stored as term files in: ~/Library/Application Support/Terminal/*.term So I can easily access them from Terminal.)

[ Reply to This | # ]
rsync w/o daemon
Authored by: fireproof on Oct 28, '02 05:40:11PM
Would you care to write a tip on using key exchange? Sounds useful...

[ Reply to This | # ]
rsync w/o daemon
Authored by: copelanduk on Oct 31, '02 11:21:12PM
By key exchange I meant ssh public/private key exchange, which is covered in these hints: here and here. Otherwise google for ssh-keygen, and ssh-agent.

[ Reply to This | # ]