El 04/10/2021, a las 08:11, Diego E. Kesselman <diegokesselman@xxxxxxxxx> escribió:
You can fix this adding :
BTW: You can remove the "-e ssh”
Diego E. Kesselman
El 04/10/2021, a las 07:11, Pete Helgren <pete@xxxxxxxxxx <mailto:pete@xxxxxxxxxx>> escribió:
Trying to run rsync from a linux box to IBM i. I found some older articles about how to set it up and it certainly is easy to install. But, I am trying to understand what is needed at the IBM i end of things to allow rsync to run. I have SSH configured and when I run an rsync command to synchronize files I get this error (not real domains):
[phelgren@873822-prodLR70 test]$ rsync -avz -e ssh pete@xxxxxxxxxxxxxxxxx <mailto:pete@xxxxxxxxxxxxxxxxx>:/home/pete ./
pete@xxxxxxxxxxxxxxxxxx <mailto:pete@xxxxxxxxxxxxxxxxxx>'s password:
bsh: rsync: not found
rsync: connection unexpectedly closed (0 bytes received so far) [Receiver]
rsync error: error in rsync protocol data stream (code 12) at io.c(226) [Receiver=3.1.2]
I can connect using ssh with both a password and a private key so that is working. But, the rsync command doesn't seem to be found (although bsh as a shell is odd...or not) and I can run rsync in the pase bash shell and linux with no problems.
GIAC Secure Software Programmer-Java
AWS Certified Cloud Practitioner
Microsoft Certified: Azure Fundamentals
Twitter - Sys_i_Geek IBM_i_Geek
This is the IBMi Open Source Roundtable (OpenSource) mailing list
To post a message email: OpenSource@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
or email: OpenSource-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
Help support midrange.com by shopping at amazon.com with our affiliate
As an Amazon Associate we earn from qualifying purchases.
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.