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.
When you type the password, characters are not displayed on the <strong>console</strong>.<br />
3 To log out, type exit <strong>in</strong> the shell.<br />
4 To return to the direct <strong>console</strong>, press Alt-F2.<br />
Sett<strong>in</strong>g ESXi Shell Timeout<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 timeout sett<strong>in</strong>g specifies how long, <strong>in</strong> m<strong>in</strong>utes, you can leave an unused session open. By<br />
default, the timeout <strong>for</strong> the ESXi Shell is 0, which means the session rema<strong>in</strong>s open even if it is unused. If you<br />
change the timeout, <strong>for</strong> example, to 30 m<strong>in</strong>utes, you have to log <strong>in</strong> aga<strong>in</strong> after the timeout period has elapsed.<br />
NOTE If you are logged <strong>in</strong> when the timeout period elapses, your session will persist. However, the ESXi Shell<br />
will be disabled, prevent<strong>in</strong>g other <strong>users</strong> from logg<strong>in</strong>g <strong>in</strong>.<br />
You can modify the timeout from the Direct Console or from the vSphere Client.<br />
To modify the ESXi Shell Timeout<br />
In the Direct Console, follow these steps.<br />
a Select Modify ESXi Shell timeout and press Enter.<br />
b Enter the time-out value <strong>in</strong> m<strong>in</strong>utes and press Enter.<br />
In the vSphere Client, follow these steps.<br />
a In the Configuration tab’s Software panel, click Advanced Sett<strong>in</strong>gs.<br />
b In the left panel, click UserVars.<br />
c Locate UserVars.ESXiShellTimeOut and enter the timeout value <strong>in</strong> m<strong>in</strong>utes.<br />
d Click OK.<br />
Remote Access to ESXi Shell Us<strong>in</strong>g SSH<br />
If Secure Shell is enabled <strong>for</strong> the ESXi Shell, you can run shell commands by us<strong>in</strong>g a Secure Shell client such<br />
as SSH or PuTTY.<br />
Enabl<strong>in</strong>g SSH <strong>for</strong> the ESXi Shell<br />
By default, you cannot access the ESXi Shell us<strong>in</strong>g a Secure Shell client. You can enable SSH access from the<br />
direct <strong>console</strong>.<br />
To enable SSH access <strong>in</strong> the direct <strong>console</strong><br />
1 At the direct <strong>console</strong> of the ESXi host, press F2 and provide credentials when prompted.<br />
2 Scroll to Troubleshoot<strong>in</strong>g Options, and press Enter.<br />
3 Select Enable SSH and press Enter once.<br />
On the left, Enable SSH changes to Disable SSH. On the right, SSH is Disabled changes to SSH is<br />
Enabled.<br />
4 Press Esc until you return to the ma<strong>in</strong> direct <strong>console</strong> screen.<br />
You can enable remote command execution from the vSphere Client.<br />
To enable SSH from the vSphere Client<br />
1 Select the host and click the Configuration tab.<br />
2 Click Security Profile <strong>in</strong> the Software panel.<br />
3 In the Services section, click Properties.<br />
4 Select SSH and click Options.<br />
VMware, Inc. 8