Authenticating Through
vCenter Server
and vCenter Single Sign-On

For all
ESXi
hosts that are managed by a
vCenter Server
system that is integrated with vCenter Single Sign-On, you can authenticate directly to the
vCenter Server
system, or you can authorize to
vCenter Server
through vCenter Single Sign-On.
The best practice is to authenticate through vCenter Single Sign-On.
You use the following options.
  • server
    - Specifies the
    vCenter Server
    system that manages the host.
  • vihost
    - Specifies the
    ESXi
    host.

Example

esxcli --server <
vc_hostname_or_IP
> --vihost <
esxi_hostname_or_IP
> --username <
user_name
> --password <
password
> hardware clock get