[libvirt] Accessing libvirtd remotely as non-root user

Daniel P. Berrange berrange at redhat.com
Fri Jun 12 08:48:39 UTC 2015


On Thu, Jun 11, 2015 at 05:26:20PM -0500, Dan Mossor wrote:
> I manage libvirtd on a few remote machines, and my security policies require
> me to disable root login via SSH. Up to this point, I've been using root due
> to the systems being in staging, but this is the final step before they're
> moved to production.
> 
> What is the current proscribed method of connecting virt-manager or virsh to
> a remote system with a non-root account? I keep getting "authentication
> failed: no agent is available to authenticate" with a user that is in the
> kvm and qemu groups on the systems I've tried using the ssh transport.

This guide ought to help you set it up

   http://wiki.libvirt.org/page/SSHPolicyKitSetup

Regards,
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 :|




More information about the libvir-list mailing list