On 22/11/14 06:06 PM, Reco wrote:
Hi.
On Sat, 22 Nov 2014 17:41:38 -0500
Gary Dale <garyd...@torfree.net> wrote:
I'm running Jessie/AMD64 connecting to Wheezy/ADM64. The KVM virtual
machines are on the Wheezy machine, which is a also file & print server
(CUPS, Samba & NFS).
I'm getting an error "Unable to connect to libvirt. You need to install
openssh-askpass or similar to connect to this host."
<skip>
libvirtError: Cannot recv data: ssh_askpass: exec(/usr/bin/ssh-askpass):
No such file or directory
Host key verification failed.: Connection reset by peer
If you can connect to the garydale@TheLibrarian without the password it
means that virt-manager is trying to be too smart (as you won't need
ssh-askpass for the normal ssh connection). I suggest giving it what it
wants:
ln -s /bin/true /usr/bin/ssh-askpass
Hacky, of course, and justifies a bug report, but should work.
Reco
Changes the error:
Unable to connect to libvirt.
Cannot recv data: Host key verification failed.: Connection reset by peer
Verify that the 'libvirtd' daemon is running on the remote host.
Details:
ibvirt URI is: qemu+ssh://garydale@TheLibrarian/system
Traceback (most recent call last):
File "/usr/share/virt-manager/virtManager/connection.py", line 1020, in
_open_thread
self._backend.open(self._do_creds_password)
File "/usr/share/virt-manager/virtinst/connection.py", line 158, in open
open_flags)
File "/usr/lib/python2.7/dist-packages/libvirt.py", line 105, in openAuth
if ret is None:raise libvirtError('virConnectOpenAuth() failed')
libvirtError: Cannot recv data: Host key verification failed.: Connection reset
by peer
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/54711a04.30...@torfree.net