i am looking for Network Transfers using rsync . further i a need connection which is use ssh instead of rsh.please any one can help me to find out solution for this ? i appreciate your effort as you help me .thank you .
i am looking for Network Transfers using rsync . further i a need connection which is use ssh instead of rsh.please any one can help me to find out solution for this ? i appreciate your effort as you help me .thank you .
TO ensure that rsync works correctly over ssh
to create the key pairspaghetti% rsync -avz -e ssh --delete Documents prodigy:/tmp
Password:
building file list ... done
Documents/
Documents/Letters/
Documents/Letters/Santa.odt
[...]
spaghetti%
spaghetti% ssh-keygen -t rsa
Generating public/private rsa key pair.
Enter file in which to save the key (/home/kattoo/.ssh/id_rsa): testRsync
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in testRsync.
Your public key has been saved in testRsync.pub.
The key fingerprint is:
7a:7f:16:dd:99:06:02:3f:d8:cb:ac:10:91:7b:f5:79 kattoo@spaghetti
spaghetti%
Modern versions of rsync use ssh by default. While ssh is slower than rsh, the data being transfered will be encrypted, randomly corrupted in transit.
If speed is a concern, use a weaker encryption option to ssh.$ rsync -e 'ssh -ax' -avz example.org:/tmp .
The -ax options to ssh disable Secure Shell (SSH) agent and X11 forwarding, which are not needed by rsync. Also consider setting -o ClearAllForwardings to ssh, to prevent possible automatic port forwards. For more information on options to OpenSSH, peruse ssh(1) and ssh_config(5).$ rsync -e 'ssh -ax -c blowfish' -avz example.org:/tmp .
you need to configuration the rsync binary in daemon mode. Even your rsync client machines can run rsync in daemon mode for two-way transfers. You can do this automatically for each connection via the inet daemon or at the commandline in standalone mode. try here http://everythinglinux.org/rsync/
Bookmarks