How to fix rsync host key verification failed

 rsync -avhe 'ssh -p 22 -o StrictHostKeyChecking=no' * ssh -p 22 root@213.136.81.82:/mnt



Alternate Fixes

Apart from the major reasons mentioned above, some other reasons like using the wrong hostname/IP address can also trigger this error. The fix here would be to double-check the IP address or hostname used for the connection.

Alternatively, this error can be fixed by disabling the host key check with rsync. This can be done by appending the parameter “ssh -o StrictHostKeyChecking=no” with the rsync command.

Comments

Popular posts from this blog

cpanel exam CPSP Answers

How to install zimbra collaboration suite 8.8.11 on CentOS 7

awstats installation