[libvirt-users] (no subject)

Dominique Ramaekers dominique.ramaekers at cometal.be
Thu Mar 24 10:51:48 UTC 2016


If you use libvirt with the ‘sudo’ prefix ($ sudo virsh –c qemu+ssh://[host]/system) you also have to setup passwordless login for the root user.

You can test it by:
$ sudo –i
$ ssh –l root [host]

Van: libvirt-users-bounces at redhat.com [mailto:libvirt-users-bounces at redhat.com] Namens nidhi d
Verzonden: donderdag 24 maart 2016 11:44
Aan: Michal Privoznik; libvirt-users at redhat.com
Onderwerp: Re: [libvirt-users] (no subject)

I have made all these changes in my Ubuntu desktop. I have also enabled passwordless login for ssh at destination. But still, everytime i run into the same problem.

On Thu, Mar 24, 2016, 4:05 PM Michal Privoznik <mprivozn at redhat.com<mailto:mprivozn at redhat.com>> wrote:
On 24.03.2016 11:23, nidhi d wrote:
> From the auth log at the destination:
> Failed password for <user> from <ip> port <no> ssh2

There's your answer. Libvirt really requires pubkey instead of passwd auth.

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

Michal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20160324/96924f9d/attachment.htm>


More information about the libvirt-users mailing list