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