Running rsync 2.6.6.version 29, getting following erorr rsync: Failed to exec ssh: no such file or directory (2) rsync error: error in IPC code (code14) at pipe.c(83) rsync: connection unexpectedly closed (0 bytes received so far) [sender] rsync error: error in rsync protocol data stram (code 12) at io.c(434) Version 2.4.6 is working fine. Can anybodey help... --------------------------------- Yahoo! Shopping Find Great Deals on Holiday Gifts at Yahoo! Shopping -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
On Tue, Dec 13, 2005 at 04:13:19AM -0800, Vijaya Krishna P.B. wrote:> Running rsync 2.6.6.version 29, getting following erorr > > rsync: Failed to exec ssh: no such file or directory (2) > rsync error: error in IPC code (code14) at pipe.c(83) > rsync: connection unexpectedly closed (0 bytes received so far) [sender] > rsync error: error in rsync protocol data stram (code 12) at io.c(434) > > > Version 2.4.6 is working fine. Can anybodey help...Somewhere between 2.4.6 & 2.6.6 the default "rsh" program that rsync is compiled with changed from rsh (which almost nobody uses, but i bet you still do - it is insecure and should not be used on internet-connected hosts) to ssh (which is much more secure). If you want to use the new rsync with rsh, you can just add "-e rsh" to your rsync command line and it should work like the old version. There''s probably a compile time option for this too. danno -- dan pritts - systems administrator - internet2 734/352-4953 office 734/834-7224 mobile
On Tue, Dec 13, 2005 at 11:57:42AM -0500, Dan Pritts wrote:> If you want to use the new rsync with rsh, you can just add "-e rsh" to your > rsync command line and it should work like the old version. There''s > probably a compile time option for this too.Yes, there''s a configure-time option, but it''s easier to just set the environment variable "RSYNC_RSH" to whatever program you need (this can be done in the global environment for the system or each user''s local shell-rc files). ..wayne..