Receiving getaddrinfo...Name or Service Not Known

I am trying to configure support of KVM with the OpenNebula 5 Front End. I am in the process of performing the Passwordless SSH. As oneadmin, I type “$ ssh-keyscan kvmhost1 … >> /var/lib/one/.ssh/known_hosts” as oneadmin and I receive the message “getaddrinfo…Name or Service Not Known”.

Any thoughts?

This is resolved. An error in the command.

I’m facing the same problem
please tell me how you have solved this???