virt-manager is unable to open a connection to the libvirt management daemon over ssh (pubkey)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
virt-manager (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: virt-manager
Steps to reproduce:
- Verify that public key authentication for <username> works, so that $ ssh virthost logs you in on virthost without asking a password.
- Verify that <user> is in group libvirtd on virthost. (Test by using virt list or something)
- virt-manager: File > Add Connection > QEMU:KVM, Remote tunnel over SSH, Hostname: username@virthost > Connect
Unable to open a connection to the libvirt management daemon.
libvirt URI is: qemu+ssh:
Verify that:
- The 'libvirt-bin' package is installed
- The 'libvirtd' daemon has been started
- That you have access to '/var/run/
Details
Unable to open connection to hypervisor URI 'qemu+ssh:
server closed connection
Traceback (most recent call last):
File "/usr/share/
None], flags)
File "/usr/lib/
if ret is None:raise libvirtError(
libvirtError: server closed connection
Maybe you need to install ssh-askpass in order to authenticate.
Expected:
Because ssh works with public key authentication, virt-manager shouldn't complain and just connect to the server.
ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: virt-manager 0.8.2-2ubuntu8
ProcVersionSign
Uname: Linux 2.6.32-23-generic x86_64
NonfreeKernelMo
Architecture: amd64
Date: Wed Jul 7 11:42:55 2010
PackageArchitec
ProcEnviron:
LANGUAGE=
PATH=(custom, user)
LANG=C
SHELL=/bin/bash
SourcePackage: virt-manager
Changed in virt-manager (Ubuntu): | |
status: | New → Confirmed |