Any possibility of a version of rsync that doesn't need RSH or SSH?


rsync already doesn't need rsh or ssh.

* On host A (server, with room to accept big uploads):

Edit /etc/rsyncd.conf, add this to the end:
[hostb]
        path = /srv/rsync/hostb
        auth users = hostb

Edit /etc/rsyncd.secrets, add this line:
hostb:hostbpass

mkdir -p /srv/rsync/hostb

sudo rsync --daemon


* On host B (client, uploading to server):

RSYNC_PASSWORD=hostbpass rsync -avz /path/to/dir hostb@hosta::hostb

Replace "hosta" with whatever hostname or ip address for "Host A".

On hosta, the rsync --daemon wil listen on port 873 and the traffic will go direct from rsync on hostb to rsync on hosta, no rsh or ssh.

For single huge files like dd images though, dd|netcat is a lot faster.

--
bkw

--
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to