Command-line management in vsphere 5.0 for service console users
Command-line management in vsphere 5.0 for service console users
Command-line management in vsphere 5.0 for service console users
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Sett<strong>in</strong>g Timeouts <strong>for</strong> the ESXi Shell<br />
<strong>Command</strong>-L<strong>in</strong>e Management <strong>in</strong> vSphere 5 <strong>for</strong> Service Console Users<br />
The ESXi Shell supports availability timeout and idle timeouts. By default, each timeout is disabled.<br />
Availability timeout. The amount of time that can elapse be<strong>for</strong>e you must log <strong>in</strong> after the ESXi Shell is<br />
enabled. After the timeout period, the <strong>service</strong> is disabled and <strong>users</strong> are not allowed to log <strong>in</strong>.<br />
Idle timeout. The amount of time that can elapse be<strong>for</strong>e the user is logged out of an idle <strong>in</strong>teractive<br />
sessions. Changes to the idle timeout apply the next time a user logs <strong>in</strong> to the ESXi Shell and do not affect<br />
exist<strong>in</strong>g sessions.<br />
To set ESXi Shell timeouts from the Direct Console<br />
1 From the Troubleshoot<strong>in</strong>g Mode Options menu, select Modify ESXi Shell and SSH timeouts and press<br />
Enter.<br />
2 Enter the availability timeout and press Enter.<br />
3 Enter the idle timeout and press Enter.<br />
4 Press Esc until you return to the ma<strong>in</strong> menu of the Direct Console Interface.<br />
To set ESXi Shell timeouts from the vSphere Client<br />
1 Select the host <strong>in</strong> the <strong>in</strong>ventory and click the Configuration tab.<br />
2 In the Configuration tab’s Software panel, click Advanced Sett<strong>in</strong>gs.<br />
3 In the left panel, click UserVars.<br />
4 In the UserVars.ESXiShellTimeOut enter the availability timeout <strong>in</strong> m<strong>in</strong>utes.<br />
You must restart the SSH <strong>service</strong> and the ESXi Shell <strong>service</strong> <strong>for</strong> the timeout to take effect.<br />
5 In the UserVars.ESXiShellInteractiveTimeOut field, enter the idle timeout sett<strong>in</strong>g.<br />
You must restart the SSH <strong>service</strong> and the ESXi Shell <strong>service</strong> <strong>for</strong> the timeout to take effect.<br />
6 Click OK.<br />
To set ESXi Shell timeouts from the vSphere Web Client<br />
1 Select the host <strong>in</strong> the <strong>in</strong>ventory, click the Manage tab, and click Sett<strong>in</strong>gs.<br />
2 Under System, select Advanced System Sett<strong>in</strong>gs.<br />
3 In the left panel, click UserVars.<br />
4 Select UserVars.ESXiShellTimeOut and click the Edit icon<br />
5 Enter the availability timeout <strong>in</strong> m<strong>in</strong>utes.<br />
You must restart the SSH <strong>service</strong> and the ESXi Shell <strong>service</strong> <strong>for</strong> the timeout to take effect.<br />
6 Select UserVars.ESXiShellInteractiveTimeOut and click the Edit icon<br />
7 Enter the availability timeout <strong>in</strong> m<strong>in</strong>utes.<br />
You must restart the SSH <strong>service</strong> and the ESXi Shell <strong>service</strong> <strong>for</strong> the timeout to take effect.<br />
8 Click OK.<br />
Access<strong>in</strong>g the ESXi Shell with the Direct Console<br />
After you enable ESXi Shell access, you can access the local shell.<br />
To access the local ESXi Shell<br />
1 At the ma<strong>in</strong> direct <strong>console</strong> screen, press Alt-F1 to open a virtual <strong>console</strong> w<strong>in</strong>dow to the host.<br />
2 Provide credentials when prompted.<br />
VMware, Inc. 7