Here is the rsync command
Code: Select all
rsync -avzhe ssh /var/spool/asterisk/backup/ RcyEJtB2@xxx.xxx.xxx.xxx:/home/SystemBackups/backup
Code: Select all
Host key verification failed.
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at io.c(600) [sender=3.0.6]
Code: Select all
$backup = 'rsync -avzhe ssh /var/spool/asterisk/backup/ RcyEJtB2@xxx.xxx.xxx.xxx:/home/SystemBackups/backup';
shell_exec ($backup);
How is this happening? The host key hasn't changed at all.
Any ideas greatly appreciated