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

[libvirt] remote connection issue 'virsh -c qemu+ssh:///root localhost/system list'



Hi,

I'm trying remote connection with qemu hypervisor on FSL PPC board.

The libvirt server is the PPC board.

root ppc:~# ifconfig eth0 10.193.20.109
root ppc:~# libvirtd -d
root ppc:~# virsh -c qemu:///system define test.xml
root ppc:~# virsh -c qemu:///system start test
root ppc:~# virsh -c qemu:///system list --all
 Id    Name                           State
----------------------------------------------------
 2     test                           running

Connect from an X86 PC (Ubuntu 10.04) to the PPC board.

user x86:~$ virsh -c qemu+ssh://root 10 193 20 109/system list --all
The authenticity of host '10.193.20.109 (10.193.20.109)' can't be established.
RSA key fingerprint is 2f:56:07:08:da:7d:ac:41:45:57:d2:12:15:19:67:e0.
Are you sure you want to continue connecting (yes/no)? yes
root 10 193 20 109's password:
error: failed to connect to the hypervisor
error: End of file while reading data: Warning: Permanently added '10.193.20.109' (RSA) to the list of known hosts.
nc: invalid option -- 'U'
BusyBox v1.19.4 (2013-03-08 13:08:18 CST) multi-call binary.

Usage: nc [-iN] [-wN] [-l] [-p PORT] [-f FILE|IPADDR PORT] [-e PROG]: Input/output error



I tried to verify the remote connection on localhost. But it also failed as below:

root mpc8572ds:~# virsh -c qemu+ssh:///root localhost/system list --all
root localhost's password:
error: failed to connect to the hypervisor
error: End of file while reading data: nc: invalid option -- 'U'
BusyBox v1.19.4 (2013-03-08 13:08:18 CST) multi-call binary.

Usage: nc [-iN] [-wN] [-l] [-p PORT] [-f FILE|IPADDR PORT] [-e PROG]: Input/output error


Could anyone give suggestion on this issue?


Best Regards,
Olivia



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