[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[solved] Re: virtmanager not connecting to server



On 23/11/14 02:29 AM, Reco wrote:
On 22/11/14 06:06 PM, Reco wrote:
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
Wait.

Why does it say 'Host key verification failed'? What's the result of

ssh garydale@TheLibrarian

Reco


Interesting. When I ssh to TheLibrarian from my garydale account, I get a clean connection but when I did it as you suggested, I got this:

The authenticity of host 'thelibrarian (192.168.1.14)' can't be established.
RSA key fingerprint is 9e:e3:f5:04:b4:55:c5:36:ad:e3:e7:44:42:92:0d:08.
Are you sure you want to continue connecting (yes/no)?

After answering "yes", it connected. Now I am able to connect using virt-manager.

Thanks!


Reply to: