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://r...@aaa.bbb.ccc.ddd/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://r...@aaa.bbb.ccc.ddd/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 r...@aaa.bbb.ccc.ddd

Adding and connecting with virt-manager then works.

-- 
virt-manager refuses to connect "<class 'libvirt.libvirtError'> cannot recv 
data:"
https://bugs.launchpad.net/bugs/366057
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to