I tried:
import libvirt
conn = libvirt.open("vbox+ssh://user@192.168.0.10/session")
Prompted for a password for ssh connection, but returns this
error:
libvir: QEMU error : server closed connection
Traceback (most recent call last):
File "/home/angelo/workspace/test.py", line 11, in <module>
conn = libvirt.open("vbox+ssh://user@192.168.0.10/session")
File "/usr/lib/python2.6/dist-packages/libvirt.py", line 169, in open
if ret is None:raise libvirtError('virConnectOpen() failed')
libvirt.libvirtError: server closed connection