Hosts key verification failed

    • OMV 3.x

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • Hosts key verification failed

      I am trying to setup rsync to pull all the files off a server every few hours. However when I try to run the job manually as a test I get a Host key verification failed error. Normally when this happens I just delete to known hosts file and move on, but in this case I either don't have access to the file or it doesn't exist. The settings I used work fine on other devices. I am running OMV on a rpi3, but I don't think that makes a difference.
      Are there other setup steps that I missed?

      Full error message:
      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.1]
    • I think I found the issue, unfortunately there isn't anything I can do about it. I thought using the password option would work until I noticed this message: The password that is used for access via rsync daemon. Note, this is not used for remote shell transport such as ssh.

      So the only way I see to make this work is to generate ssh keys, which I cant do on the server.
      So unless anyone else has an idea I will have to move on to something else.