Skip to content

Note

文件更新時間: 20230223

VMware vSphere Troubleshooting Collections

vCenter Received Disconnect - Too Many Authentication Failures

Use -o PubkeyAuthentication=no to disable public key authentication.

$ ssh [email protected]

VMware vCenter Server 7.0.3.01000

Type: vCenter Server with an embedded Platform Services Controller

Received disconnect from 192.168.78.248 port 22:2: Too many authentication failures
Disconnected from 192.168.78.248 port 22

$ ssh -o PubkeyAuthentication=no [email protected]

VMware vCenter Server 7.0.3.01000

Type: vCenter Server with an embedded Platform Services Controller

[email protected]'s password:
Connected to service

    * List APIs: "help api list"
    * List Plugins: "help pi list"
    * Launch BASH: "shell"

Command>

Use vSphere Certificate Manager to Replace SSL Certificates

Use /usr/lib/vmware-vmca/bin/certificate-manager and type 8 to reset all certificates.

root@vcenter [ ~ ]# /usr/lib/vmware-vmca/bin/certificate-manager
                 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
                |                                                                     |
                |      *** Welcome to the vSphere 6.8 Certificate Manager  ***        |
                |                                                                     |
                |                   -- Select Operation --                            |
                |                                                                     |
                |      1. Replace Machine SSL certificate with Custom Certificate     |
                |                                                                     |
                |      2. Replace VMCA Root certificate with Custom Signing           |
                |         Certificate and replace all Certificates                    |
                |                                                                     |
                |      3. Replace Machine SSL certificate with VMCA Certificate       |
                |                                                                     |
                |      4. Regenerate a new VMCA Root Certificate and                  |
                |         replace all certificates                                    |
                |                                                                     |
                |      5. Replace Solution user certificates with                     |
                |         Custom Certificate                                          |
                |         NOTE: Solution user certs will be deprecated in a future    |
                |         release of vCenter. Refer to release notes for more details.|
                |                                                                     |
                |      6. Replace Solution user certificates with VMCA certificates   |
                |                                                                     |
                |      7. Revert last performed operation by re-publishing old        |
                |         certificates                                                |
                |                                                                     |
                |      8. Reset all Certificates                                      |
                |_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _|
Note : Use Ctrl-D to exit.
Option[1 to 8]: 8
Do you wish to generate all certificates using configuration file : Option[Y/N] ? : y

Upgrade ESXi hosts

Before: VMware ESXi, 7.0.3, 19482537 After: 7.0.3 build-20328353

  1. Download Packages - VMware vSphere Hypervisor (ESXi) Offline Bundle - VMware-ESXi-7.0U3g-20328353-depot.zip
  2. Put the Zip file into the datastore.
  3. Mount the Zip file to the ESXi host.
  4. Run the following command to upgrade the ESXi host.
[root@esxi:~] esxcli software vib update -d /vmfs/volumes/iso_datastore/VMware-ESXi-7.0U3g-20328353-depot.zip
Installation Result
   Message: The update completed successfully, but the system needs to be rebooted for the changes to be effective.
   Reboot Required: true
...omit...

[root@esxi:~] esxcli system maintenanceMode set --enable=true
[root@esxi:~] esxcli system shutdown reboot -r "Update ESXi"

# After reboot
[root@esxi:~] vmware -vl
VMware ESXi 7.0.3 build-20328353
VMware ESXi 7.0 Update 3
[root@esxi:~] esxcli system maintenanceMode set --enable=false
[root@esxi:~] esxcli system maintenanceMode get
Disabled

Get VMware ESXi Version From Command Line

[root@esxi:~] vmware -vl
VMware ESXi 7.0.3 build-20328353
VMware ESXi 7.0 Update 3

Reset ESXi Root Password with Host Profile via vCenter

Reset ESXi Root Password with Host Profile (68079)

Access VMCA Appliance

Open Browser and type https://<vCenter IP/FQDN>:5480 to access vCenter Server Management