
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@redhat.com [mailto:libvirt-users-bounces@redhat.com] Namens nidhi d Verzonden: donderdag 24 maart 2016 11:44 Aan: Michal Privoznik; libvirt-users@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@redhat.com<mailto:mprivozn@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