[libvirt-users] problem connecting to libvirtd remotely; compiled from sources

Andrei Perietanu andrei.perietanu at klastelecom.com
Mon Nov 2 10:56:40 UTC 2015


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

Any ideas?

Thanks,
Andrei

-- 
 

The information transmitted is intended only for the person or entity to 
which it is addressed and may contain confidential and/or privileged 
material. Any review, retransmission, dissemination or other use of or 
taking of any action in reliance upon this information by persons or 
entities other than the intended recipient is prohibited. If you receive 
this in error please contact the sender and delete the material from any 
computer immediately. It is the policy of Klas  Limited to disavow the 
sending of offensive material and should you consider that the material 
contained in the message is offensive you should contact the sender 
immediately and also your I.T. Manager.

Klas Telecom Inc., a Virginia Corporation with offices at 1101 30th St. NW, 
Washington, DC 20007.

Klas Limited (Company Number 163303) trading as Klas Telecom, an Irish 
Limited Liability Company, with its registered office at Fourth Floor, One 
Kilmainham Square, Inchicore Road, Kilmainham, Dublin 8, Ireland.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20151102/485fdf09/attachment.htm>


More information about the libvirt-users mailing list