[Pkg-libvirt-maintainers] Bug#667636: virt-manager qemu+ssh connects with wrong user
Stefan Pietsch
stefan.pietsch at lsexperts.de
Thu Apr 5 13:50:34 UTC 2012
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.
---
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
More information about the Pkg-libvirt-maintainers
mailing list