2009/7/27 Tom Hughes <tom(a)compton.nu>:
On 27/07/09 09:38, Shahar Klein wrote:
>
> How do you connect to the esxi?
Over https.
> Should I open an ssh in my ESXi server?
>
>
> [root@rain8 libvirt]# virsh -c esx+ssh://rain3/system
> error: cannot recv data: Connection reset by peer
> error: failed to connect to the hypervisor
I just use "virsh -c esx://root@server" and it connects over https by
default.
I did have to hack the code to stop curl trying to validate the self signed
cert on the server.
Tom
I assume you set CURLOPT_SSL_VERIFYPEER to 0. Good idea I'll add that
in they way the no_verify query parameter work for libvirtd based
transports.
Regards,
Matthias