Hello everyone, If I have three computers (Host-A, Host-B and Host-C) .... is it possible to execute Rsync from Host-A and use the rsync daemon via SSH on Host-B as the source and the rsync daemon via SSH on host-C as the destination? Thank you in advance for your help. Kevin -- View this message in context: http://www.nabble.com/Rsync-from-a-third-host--tp20297112p20297112.html Sent from the Samba - rsync mailing list archive at Nabble.com.
On Sun, 2008-11-02 at 20:15 -0800, kbrault wrote:> If I have three computers (Host-A, Host-B and Host-C) .... is it possible to > execute Rsync from Host-A and use the rsync daemon via SSH on Host-B as the > source and the rsync daemon via SSH on host-C as the destination?No, rsync does not support transferring data between two daemons in a single run. You can have Host-A run a script to pull the data from Host-B and then push it to Host-C. If that is undesirable and you are not limited to accessing the source and destination via the daemons, then you may be able to have one of Host-B, Host-C act as a client and connect to the other, either directly or with the help of Host-A. I will have more specific suggestions if you provide some more information about your scenario. Matt
Thank you for the quick response. Here is were we are.... Host-C: External Backup host. Only has rsync daemon available to us via RSSH. SFTP but no shell or cron. OpenSSH 4.3. Debian Linux Host-B: Our server. Has OpenSSh 3.9 (for now). Centos 4.5 Linux Host-A: External Web host. Has cron, shell, rsync daemon and client but very limited disk space. OpenSSH 4.3. Debian Linux Apparently there is an issue with OpenSSh 3.9, rsync and OpenSSH 4.3 and we cannot push from Host-B to Host-C. I was looking at pulling from OpenSSH 3.9 with openSSH 4.3 and pushing to OpenSSH 4.3 with rsync on Host-A. This maybe asking alot but I thought I give it a try. Notes: I have a test box running Centos 5 with OpenSSH 4.3 and it works pushing to Host-C. It also works as the source when pulling with Host-B the Centos 4.5 box with OpenSSH 3.9. I have not tested the other way around yet. Thanks for our help, Kevin -- View this message in context: http://www.nabble.com/Rsync-from-a-third-host--tp20297112p20297311.html Sent from the Samba - rsync mailing list archive at Nabble.com.
On Sun, Nov 02, 2008 at 09:39:05PM -0800, kbrault wrote:> insecure -e option not allowed. > This account is restricted by rssh.You should fix or replace rssh. See a prior thread where I posted a patch to fix the silly command-checking of rssh. If all rssh allows in is rsync, see the support/rrsync script for a much better and more versatile program than rssh. ..wayne..