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. On Wed, Mar 23, 2016, 6:59 PM Michal Privoznik <mprivozn@redhat.com> wrote:> On 23.03.2016 14:13, nidhi d wrote: > > How is the traffic different when using the tunnelled option rather than > > ssh without tunnelling? > > There are two migration streams here: > > 1) libvirt (used to transfer libvirt's internal state of domain onto the > other side) > 2) qemu (used to transfer qemu's internal state of domain onto the other > side) > > specifying bare qemu+ssh:/// makes libvirt pack its stream into an ssh > stream, but says nothing about qemu stream. Using tunnelling tells > libvirt to encapsulate qemu migration stream into its own stream and > thus into ssh stream too. > > Michal >
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
>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 >