This interactively works fine but in a cron it fails with
Host key verification failed.
rsync: connection unexpectedly closed (0 bytes received so far) [Receiver]
rsync error: unexplained error (code 255) at io.c(226) [Receiver=3.1.0]
From PRICACC cron.
/usr/bin/rsync -a NOPRIVE@somesite.com:ftpsite /home/PRIVACC/somesite.com/
I need to copy pictures from this no privileged account which is associated but I have to protect them against themselves so they don’t fling the privileged account password over the wire.
I put it in a file and with the file file path in and it’s also fails with file not found, wth?