On 02.11.2015 11:56, Andrei Perietanu wrote:
I am trying to add libvirt to a linux machine running a custom built
linux-
there is no packet manager, everything is compiled using buildroot.
On this VM server, I am running libvirt-1.2.2 and the linux kernel is
3.18.21
Libvirtd starts and runs in the background. I can add/edit VMs using
Virt-install.
If I try to connect to the local qemu, everything works: virsh -c
qemu:///system
If I ssh in from the remote machine, as root, and run virsh, everything
seems to work
But if I try to connect using virt-manager, or *virsh -c
qemu+ssh://root@<server_ip>/system* I get an error:
error: failed to connect to the hypervisor
error: Cannot recv data: ssh: connect to host 10.10.200.85 port 22:
Connection refused: Connection reset by peer
Does the regular ssh work?
When it comes to ssh transport, libvirt uses netcat to tunnel its RPC
packets through, so maybe you are missing the nc binary on one side. You
may want to switch to libssh which drops the dependency.
Michal