Hi Pete,

You can fix this adding :

--rsync-path=/QOpenSys/pkgs/bin/rsync

BTW: You can remove the "-e ssh”


Diego E. Kesselman
diegokesselman@xxxxxxxxx



El 04/10/2021, a las 07:11, Pete Helgren <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:/home/pete ./
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.

Suggestions?

--
Pete Helgren
www.petesworkshop.com
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,
visit: https://lists.midrange.com/mailman/listinfo/opensource
or email: OpenSource-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/opensource.

Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.