VMWare opens host client Web login permissions via SSH

Source: Internet
Author: User

The vcenter that discovered VMware virtualized environments today hangs, because the default is lock mode, so ESXi management is managed by logging in to Vcenter's vsphere client, because the vcenter itself is dead, Therefore, the management of the virtual machine with the Web management are not, as long as a way through the background or SSH solution. The following is a simple process for forgetting.

The first is to find ways to manage directly through SSH to the ESXi host, there are several ways to achieve:

1, through the ESXi host client Web management interface to open SSH login, we this application scenario is not suitable, slightly;

2, through the vsphere VCenter Web management interface, select the need to open the SSH service ESXi host, we this application scenario is not suitable, slightly;

3. Through the server console directly modified, simple process: Prepare the terminal display keyboard to the computer room physical server plug in the login terminal, press F2 into the ESXi configuration, select troubleshooting options, click "Enable SSH" to activate the SSH service;

It is important to turn off the "lockdown mode" when SSH login is activated, in fact, if you close the Lockdown lock mode directly, you can log into the Web management interface of the ESXI host client directly.

After that, you can log in to the ESXi host via SSH and use the relevant commands to start or shut down the virtual machine. It can also be managed by logging into the Web management interface of the ESXi host client.

The following is a simple list of several commonly used ESXi SSH commands:

ESXCLI Command collection:

ESXCLI VM Process List//list of virtual machines started

ESXCLI VM Process Kill-t soft-w 58261//Shut down the virtual machine, where 58261 is the virtual machine number, obtained by the above command

If you are unfamiliar with usage, you can get help by esxcli VM assistance.


Vim-cmd Command set:

Vim-cmd Vmsvc/getallvms//List all virtual machines

Vim-cmd Vmsvc/power.on 11//11 is the virtual machine number, obtained through the command above

If you are unfamiliar with usage, you can get help through Vim-cmd.



VMWare opens host client Web login permissions via SSH

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.