Purpose
Resolution
Enabling ESXi Shell access using the vSphere Client
Use the vSphere Client to enable local and remote access to the ESXi Shell:- Log into a vCenter Server system using the vSphere Client.
- Select the host in the inventory panel.
- Click the Configuration tab and click Security Profile.
- In the Services section, click Properties.
- Select ESXi Shell from this list:
ESXi Shell
SSH
Direct Console UI - Click Options and select Start and stop manually.
Note: When you select Start and stop manually, the service does not start when you reboot the host. If you want the service to start when you reboot the host, select Start and stop with host. - Click Start to enable the service.
- Click OK.
Enabling ESXi Shell access using the Direct Console User Interface
Use the direct console user interface to enable the ESXi Shell:- From the Direct Console User Interface, press F2 to access the System Customization menu.
- Select Troubleshooting Options and press Enter.
- From the Troubleshooting Mode Options menu, select Enable ESXi Shell.
Enable ESXi Shell
Enable SSH - Press Enter to enable the service.
Configuring the timeout for the ESXi Shell
By default, the timeout setting for the ESXi Shell is 0 (disabled). The timeout setting is the number of minutes that can elapse before you must log in after the ESXi Shell is enabled. After the timeout period, if you have not logged in, the shell is disabled.Note: If you are logged in when the timeout period elapses, your session persists. However, the ESXi Shell is disabled and it prevents other users from logging in.
- To set the ESXi Shell timeout from the Direct Console User Interface:
- From the Direct Console User Interface, press F2 to access the System Customization menu.
- Click Troubleshooting Mode Options.
- Modify ESXi Shell and SSH timeouts and press Enter.
- Enter the timeout in minutes.
- Press Enter.
- Press Esc until you return to the main menu of the Direct Console User Interface.
- To set the ESXi Shell timeout from vSphere Client:
- Log into a vCenter Server system using the vSphere Client.
- Select the host in the inventory panel and click Configuration tab.
- Under Software, click Advanced Settings.
- In the left panel, click UserVars.
- In the UserVars.ESXiShellTimeOut field, enter the timeout setting.
- Click OK.
Note: If ESXi Shell and SSH are enabled, the option to modify the timeout value is grayed out. To change the timeout value, ensure both ESXi Shell and SSH are disabled. This is by design and is intended to indicate when the timeout values would take effect.
Accessing the local ESXi Shell
- If you have direct access to the host, press Alt+F1 to open the log in page on the machine's physical console.
- Provide credentials when prompted.
Accessing the remote ESXi Shell
- Open an SSH client.
- Specify the IP address or domain name of the ESXi host.
Notes:- Steps may vary depending on the SSH client you are using. For more information, consult the client documentation and support.
- By default, SSH works on TCP port 22.
- Provide credentials when prompted.
Source:-
http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2004746
No comments:
Post a Comment