>From the auth log at the destination:Failed password for <user> from <ip> port <no> ssh2 On Thu, Mar 24, 2016, 3:50 PM Michal Privoznik <mprivozn@redhat.com> wrote:> On 23.03.2016 14:47, nidhi d wrote: > > I tried using tunnelled mode for vm migration, but migration failed with > > the error > > > > Permission denied(publickey,password):Connection reset by peer > > > > I have enabled passwordless ssh login at the destination. Also i am able > to > > connect to the destination using using qemu+ssh. > > Maybe the destination ssh is denying spawning a command? Libvirt spawns > a netcat process to pass data through a unix socket to ssh tunnel. > What's the error message you see on the destination? > > Michal >
On 24.03.2016 11:23, nidhi d wrote:> From the auth log at the destination: > Failed password for <user> from <ip> port <no> ssh2There's your answer. Libvirt really requires pubkey instead of passwd auth. http://wiki.libvirt.org/page/SSHSetup Michal
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> 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 >