> >> rsh is good: >> >> [g3p:~] smith% rsh -l a1012 sv1.domain.com >> Password: >> {[EMAIL PROTECTED]:65} >> >> rsync not good: >> ... > > actually, "rsh" is not good enough. it's asking you for a password, > which means without user/pwd authentication it won't run. >
Being it's a secret where the password is configured for an rsync connection, I created a user with the same username/password on both the local and remote machines. This allows me to rsh in without a password and rsync now works in one direction BUT it asks for the password. %[ langate.locd.com[/home/a1012]>% rsh sv1.domain.com Welcome to FreeBSD! {[EMAIL PROTECTED]} date Thu Aug 1 11:02:34 GMT 2002 BUT :( langate.locd.com[/home/a1012]> rsh sv1.domain.com date sv1.domain.com: Connection refused AND I can go one way but not the other. ### From remote back to me, OK: {[EMAIL PROTECTED]} rsync -av langate.locd.com:mmm.txt . [EMAIL PROTECTED]'s password: receiving file list ... done mmm.txt wrote 32 bytes read 114 bytes 22.46 bytes/sec total size is 0 speedup is 0.00 ### From me to remote: langate.locd.com[/home/a1012]> rsync -av srv1.sv1.centralhost.com:aaa.txt . sv1.domain.com: Connection refused rsync: connection unexpectedly closed (0 bytes read so far) rsync error: error in rsync protocol data stream (code 12) at io.c(150) Local .rhosts file (works): langate.locd.com[/home/a1012]> l .rhosts -rw------- 1 a1012 a1012 13 Aug 1 13:58 .rhosts langate.locd.com[/home/a1012]> cat .rhosts 66.xxx.209.18 Remote .rhosts file (fails): {[EMAIL PROTECTED]} l .rhosts -rw------- 1 a1012 users 291 Aug 1 10:55 .rhosts {[EMAIL PROTECTED]:152} cat .rhosts 12.xxx.220.246 I can rsh in either direction without a password. -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html