On Wed, Jan 04, 2012 at 05:03:00PM +0100, Armand Leclercq wrote: > Hi everybody, > > I'ld to use virsh over ssh in order to connect to my xen hypervisor > from one of my DomU. > > I tried: > virsh -c xen+ssh://[email protected]:22 list --all > > And it correctly listed the started virtual computers. > > And when I tried > virsh connect xen+ssh://[email protected]:22
The 'connect' command is only intended to be used from an interactive libvirt session. You want to use '-c' or '--connect' in non-interactive mode like you have here, and *not* the 'connect' command. Daniel -- |: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :| |: http://libvirt.org -o- http://virt-manager.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :| _______________________________________________ libvirt-users mailing list [email protected] https://www.redhat.com/mailman/listinfo/libvirt-users
