[Pkg-libvirt-maintainers] Bug#667636: Bug#667636: virt-manager qemu+ssh connects with wrong user

Guido Günther agx at sigxcpu.org
Thu Apr 5 15:08:54 UTC 2012


reassign 667636 libvirt0

thanks

On Thu, Apr 05, 2012 at 03:50:34PM +0200, Stefan Pietsch wrote:
> Package: python-libvirt
> Version: 0.9.11-1
> Severity: normal
> 
> After updating python-libvirt and libvirt0 from 0.9.9-3 to 0.9.11-1 the
> virt-manager connection with qemu+ssh fails.

This doesn't look python specific as it can be easily reproduced with
virsh alone.
 -- Guido

> 
> ---
> 
> Example:
> 
> $ virt-manager -c qemu+ssh://root@192.168.20.37/system
> 
> 
> Unable to connect to libvirt.
> 
> Cannot recv data: Permission denied (publickey).
> : Connection reset by peer
> 
> Verify that the 'libvirtd' daemon is running
> on the remote host.
> 
> Libvirt URI is: qemu+ssh://root@192.168.20.37/system
> 
> Traceback (most recent call last):
>   File "/usr/share/virt-manager/virtManager/connection.py", line 1185,
> in _open_thread
>     self.vmm = self._try_open()
>   File "/usr/share/virt-manager/virtManager/connection.py", line 1167,
> in _try_open
>     flags)
>   File "/usr/lib/python2.7/dist-packages/libvirt.py", line 102, in
> openAuth
>     if ret is None:raise libvirtError('virConnectOpenAuth() failed')
> libvirtError: Cannot recv data: Permission denied (publickey).
> : Connection reset by peer
> 
> ---
>     
> 
> The SSH connection uses my login name on the local machine instead of
> the user "root" as in the qemu+ssh URI.
> 
> On the server we see in the auth.log:
> sshd[19002]: Invalid user stefan from 192.168.20.101
> 
> 
> 
> Regards,
> Stefan
> 
> 
> 
> 
> _______________________________________________
> Pkg-libvirt-maintainers mailing list
> Pkg-libvirt-maintainers at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-libvirt-maintainers
> 





More information about the Pkg-libvirt-maintainers mailing list