Comment 1 for bug 366057

Revision history for this message
preben.olsen (preben-olsen) wrote :

Here is a workaround for this. I have seen this problem in both virt-manager 0.6.1 (Jaunty) and self compiled 0.7:

Virt manager 0.6.1:
File -> Add Connection -> quemu+ssh

Can't connect, receive this error:

Unable to open connection to hypervisor URI 'qemu+ssh://<email address hidden>/system':
<class 'libvirt.libvirtError'> cannot recv data: Connection reset by peer
None

Virt manager 0.7.0:
File -> Add connection -> quemu+ssh

Can't connect, receive this error:

Unable to open connection to hypervisor URI 'qemu+ssh://<email address hidden>/system':
<class 'libvirt.libvirtError'> cannot recv data: Connection reset by peer
None

Maybe you need to install ssh-askpass in order to authenticate.

Workaround: Create and use key authentication instead of password:

ssh-keygen -t rsa -N ""
ssh-copy-id -i /home/myuser/.ssh/id_rsa.pub <email address hidden>

Adding and connecting with virt-manager then works.