How to connect a node to OpenNebula?

ON installed on a virtual machine.
Task: connect a remote node with installed KVM to ON.

Unfortunately, I only found how to do this here https://www.alibabacloud.com/blog/how-to-install-and-configure-opennebula-on-ubuntu-18-04_595917 section “Configure Key-base SSH Authentication on OpenNebula Front-end”


Versions of the related components and OS (frontend, hypervisors, VMs):
Node1 (192.168.10.171): CentOS 8.3, OpenNebula 6
Node2 (192.168.10.169): CentOS 8.3, KVM

Steps to reproduce:
On Node1 in directory /var/lib/one/.ssh has files
[oneadmin@on-test ~]$ ll .ssh
total 40
-rw------- 1 oneadmin oneadmin 1444 Apr 16 00:12 config
-rw------- 1 oneadmin oneadmin 1381 Apr 30 14:32 id_dsa
-rw-r–r-- 1 oneadmin oneadmin 606 Apr 30 14:32 id_dsa.pub
-rw------- 1 oneadmin oneadmin 513 Apr 30 14:33 id_ecdsa
-rw-r–r-- 1 oneadmin oneadmin 178 Apr 30 14:33 id_ecdsa.pub
-rw------- 1 oneadmin oneadmin 411 Apr 30 14:34 id_ed25519
-rw-r–r-- 1 oneadmin oneadmin 98 Apr 30 14:34 id_ed25519.pub
-rw------- 1 oneadmin oneadmin 2602 Apr 16 00:12 id_rsa
-rw-r–r-- 1 oneadmin oneadmin 570 Apr 16 00:12 id_rsa.pub
-rw-rw-r-- 1 oneadmin oneadmin 1680 Apr 30 14:35 known_hosts

I do:
ssh-keyscan 192.168.10.171 >> /var/lib/one/.ssh/known_hosts
ssh-keyscan 192.168.10.169 >> /var/lib/one/.ssh/known_hosts

Then I do:
scp -rp /var/lib/one/.ssh root@192.168.10.169:/var/lib/one/

Current results:

Expected results:
I need to be able to connect via SSH without entering a passwordand and then I can connect the KVM to the node

Sorry, but the topic is no longer relevant. I solved the problem.

Glad to hear, thanks for the update :slight_smile: