[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] virsh + ssh



[forwarding back to the list, in case this helps anyone else]

On 01/04/2011 10:24 AM, Eric Blake wrote:
> On 01/04/2011 10:13 AM, Daniel Huhardeaux wrote:
>> My problem was that I wanted to do it with virt-manager which only
>> connect using URI qemu+ssh://root remote/system :-(
> 
> virt-manager lets you add a new connection and specify the username.  On
> virt-manager-0.8.5-1.fc14 (fedora 14 box), I just tried File->add
> connection; hypervisor qemu/kvm, check the box for remote host, method
> ssh, and then you can specify both username and host, at which point it
> displays a generated URI of qemu+ssh://user remote/system.
> 
>>
>> I face a strange behavior: I added my user in libvirt group and modify
>> libvirtd.conf to start with group libvirt. I restart libvirt-bin and:
>>
>> virsh -c qemu+ssh:///system
>> dh localhost's password:
> 
> so you are authenticating as yourself and not as root.
> 
>> virsh
>> Welcome to virsh, the virtualization interactive terminal.
> 
> And here, no authentication was even attempted (which means you really
> connected to qemu:///session).  Try instead to use:
> 
> virsh -c qemu:///system
> 
> to see the difference (system and session maintain independent lists of
> running domains, which is why your use of virsh without -c saw no
> domains because it connected to session instead of system).
> 

-- 
Eric Blake   eblake redhat com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]