I am trying to use syncoid to send a zfs dataset to a remote macOS machine, with OpenZFS on macOS installed.
During the run, I get the error: fish: Unknown command: zfs.
I can replicate this error with ssh remotehost zfs --help.
I thought that maybe zfs wasn't on my PATH from the perspective of the ssh session, but if I check with ssh remotehost echo $PATH, I can see /usr/local/zfs/bin listed.
Any ideas?