Open stevchen-ibm opened 1 year ago
What @stevchen-ibm is doing should work. An even simpler example:
ssh <host> "cd <zopen tools install path>/rsync && . ./.env && rsync --version"
It also fails for me.
Note that:
rsync --version
works fine if performed interactively as @stevchen-ibm also mentioned for his example.
This also works fine:
unset _BPXK_AUTOCVT; unset _CEE_RUNOPTS; unset _TAG_REDIR_ERR; unset _TAG_REDIR_OUT; unset _TAG_REDIR_IN; export PATH="/bin"; . ./.env; rsync --version
export _BPXK_AUTOCVT=ON
resolves this issue in my experience
I am encountering an issue when trying to run an rsync command in an ssh environment. The output I am receiving is garbled and not readable. I was wondering if anyone would be able to help me troubleshoot this issue. I have already tried running the same rsync command in an interactive shell and it seems to work fine.