All three servers are RHEL8.
When run locally, these commands run as expected:
Node_A:
$ find /var/log/postgresql -name '*log' -type f -size +4096c
/var/log/postgresql/postgresql-2025-11-06_11.log
/var/log/postgresql/postgresql-2025-11-06_10.log
Node_B:
$ find /var/log/postgresql -name '*log' -type f -size +4096c
/var/log/postgresql/postgresql-2025-11-05_20.log
But when run remotely as ssh parameters, one fails, but the other works as expected.
$ ssh FISPCDSPGS401A find /var/log/postgresql -name '*log' -type f -size +4096c
find: paths must precede expression: CNDT-INC2829798B.log
Usage: find [-H] [-L] [-P] [-Olevel] [-D help|tree|search|stat|rates|opt|exec] [path...] [expression]
(CNDT-INC2829798B.log is a file in FISPCDSPGS401A’s $HOME for the user I’m logging in as.)
$ ssh FISPCDSPGS401B find /var/log/postgresql -name '*log' -type f -size +4096c
/var/log/postgresql/postgresql-2025-11-05_20.log
Why would that be?
EDIT: when running ssh -v, I see that the single-quotes get eaten:
debug1: Sending command: find /var/log/postgresql -name *log -type f -size +4096c