Problem: I’m on version 3.10 and my current setup is using an image to provision hosts on libvirt. I have dhcp and DNS proxy set up to configure ip and domain names using the libvirt api but somehow, the foreman proxy isn’t connecting to the hosts using ssh
Expected outcome: The proxy is not ssh’ing into the hosts
Yes I misunderstood but the actual problem is that foreman is logging into itself (the foreman server ) instead of the hosts ‘VMs’
The vVM’s are on a libvirt network 192.168.122.0/24 and my foreman host is on 192.168.0.6
The libvirt api is connected to foreman and creates dhcp and dns records succesfuly
Sep 09 08:53:09 foreman.vinks.lan sshd[8650]: Accepted publickey for root from 192.168.0.6 port 54688 ssh2: RSA SHA256:cxhYvnYjR/0c1vFHXsUhAXSUpWDTbaobFhlRgdARkaY
Sep 09 08:53:09 foreman.vinks.lan sshd[8650]: pam_unix(sshd:session): session opened for user root(uid=0) by root(uid=0)
Sep 09 08:53:20 foreman.vinks.lan sshd[8720]: Accepted publickey for root from 192.168.0.6 port 48674 ssh2: RSA SHA256:cxhYvnYjR/0c1vFHXsUhAXSUpWDTbaobFhlRgdARkaY
Sep 09 08:53:20 foreman.vinks.lan sshd[8720]: pam_unix(sshd:session): session opened for user root(uid=0) by root(uid=0)
Sep 09 08:53:20 foreman.vinks.lan sshd[8745]: Accepted publickey for root from 192.168.0.6 port 48678 ssh2: RSA SHA256:cxhYvnYjR/0c1vFHXsUhAXSUpWDTbaobFhlRgdARkaY
Sep 09 08:53:20 foreman.vinks.lan sshd[8745]: pam_unix(sshd:session): session opened for user root(uid=0) by root(uid=0)
Sep 09 08:57:36 foreman.vinks.lan sshd[8992]: Accepted publickey for root from 192.168.0.6 port 47732 ssh2: RSA SHA256:cxhYvnYjR/0c1vFHXsUhAXSUpWDTbaobFhlRgdARkaY
Sep 09 08:57:36 foreman.vinks.lan sshd[8992]: pam_unix(sshd:session): session opened for user root(uid=0) by root(uid=0)
Sep 09 08:57:47 foreman.vinks.lan sshd[9030]: Accepted publickey for root from 192.168.0.6 port 35980 ssh2: RSA SHA256:cxhYvnYjR/0c1vFHXsUhAXSUpWDTbaobFhlRgdARkaY
Sep 09 08:57:47 foreman.vinks.lan sshd[9030]: pam_unix(sshd:session): session opened for user root(uid=0) by root(uid=0)