ESX Virtualization

VMware ESXi, vSphere, VMware Backup, Hyper-V... how-to, videos....

Nakivo Backup and Replication - #1 Backup solution for Virtual, physical, cloud, NAS and SaaS

Menu
  • Certification
      • VCP-DCV vSphere 8
          • vcp2024-125.
        • Close
    • Close
  • VMware
    • Configuration Maximums
    • vSphere
      • vSphere 8.0
      • vSphere 7.0
      • vSphere 6.7
      • vSphere 6.5
      • vSphere 6.0
      • Close
    • VMworld
      • VMware EXPLORE 2024
      • VMware EXPLORE 2023
      • VMware EXPLORE 2022
      • VMworld 2019
      • VMworld 2018
      • VMworld 2017
      • VMworld 2016
      • VMworld 2015
      • VMworld 2014
      • VMworld 2013
      • VMworld 2012
      • VMworld 2011
      • Close
    • Close
  • Microsoft
    • Windows Server 2012
    • Windows Server 2016
    • Windows Server 2019
    • Close
  • Categories
    • Tips – VMware, Microsoft and General IT tips and definitions, What is this?, How this works?
    • Server Virtualization – VMware ESXi, ESXi Free Hypervizor, VMware vSphere Server Virtualization, VMware Cloud and Datacenter Virtualization
    • Backup – Virtualization Backup Solutions, VMware vSphere Backup and ESXi backup solutions.
    • Desktop Virtualization – Desktop Virtualization, VMware Workstation, VMware Fusion, VMware Horizon View, tips and tutorials
    • How To – ESXi Tutorials, IT and virtualization tutorials, VMware ESXi 4.x, ESXi 5.x and VMware vSphere. VMware Workstation and other IT tutorials.
    • Free – Free virtualization utilities, ESXi Free, Monitoring and free backup utilities for ESXi and Hyper-V. Free IT tools.
    • Videos – VMware Virtualization Videos, VMware ESXi Videos, ESXi 4.x, ESXi 5.x tips and videos.
    • Home Lab
    • Reviews – Virtualization Software and reviews, Disaster and backup recovery software reviews. Virtual infrastructure monitoring software review.
    • Close
  • Partners
    • NAKIVO
    • StarWind
    • Zerto
    • Xorux
    • Close
  • This Web
    • News
    • ESXi Lab
    • About
    • Advertise
    • Archives
    • Disclaimer
    • PDFs and Books
    • Close
  • Free
  • Privacy policy

Three Ways to Enable ESXi Shell and Timeout

By Vladan SEGET | Last Updated: January 16, 2017

Shares

There are several ways to enable ESXi shell, so we'll look into it, and also we will also look at an option, to set a timeout setting for the ESXi Shell. This will allow you to set a value (in minutes) which will elapse before you must log in after the ESXi Shell is enabled. If not the shell is again disabled after enabling it. Usually, this is something not everyone uses, but for certain scenarios, it is useful as it leaves you some time before locking out the access. Let's get started, so as said, today's post is about Three Ways to Enable ESXi Shell and Timeout.

When configuring the timeout options, through an advanced configuration, we will see that you have to first configure the timeout and then only go and activate (start) the ESXi shell service. (Or you have to validate by stopping and starting the service).

First option – Enable ESXi shell by using vSphere Client

Yes, Windows client for individual ESXi hosts can still be used to configure some options (not all). Unfortunately, for connection to vCenter server, you'll have to use vSphere Web client (Flash based) or pure HTML 5 based client.

Connect to the host and go to Configuration > Security Profile > Services section > click Properties > Select ESXi shell from the list. 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. So far, nothing unusual. Everyone know their way.

Enable ESXi Shell

Second Option – Use ESXi Host Client (HTML 5 based)

This is a new option (previously a fling). We will use Host client which is an HTML 5 based client (no software necessary to install on your machine) to configure ESXi shell access. Let's connect to the host via

https://ip_of_esxi/ui

Then select click on Manage > Click the Services tab > In the Services section, select TSM from the list > Click Actions and select Start to enable the ESXi shell.

Done. You may wonder, what is TSM? Well, this is Tech Support Mode (TSM). When ESXi was in its beginnings (release 3.5 ) then there was this special, TSM mode, which could be activated via ALT + F1 and then you would have to type in ” unsupported ” and hit Enter. But that was a long time ago.

3 ways to enable ESXi Shell

Third Option – directly via direct console user interface (DCUI).

You'll have to have access to the console of the host. After you authenticating at the console > Press F2 and go to  System Customization menu > Select Troubleshooting Options and press Enter. Then again hit enter, because on the second menu you are directly in the good position “Enable ESXi Shell” so all you have to do is to hit enter.

That's it. You can see other options like enabling SSH protocol which enables to pass commands from remote SSH sessions (using software like Putty for example).

Three Ways to Enable ESXi Shell

ESXi Shell Timeout configuration

the timeout configuration for ESXi shell can be configured while the service is stopped only. By default, the timeout setting for the ESXi Shell is 0 (disabled). You can do it through advanced options. There are two ways of doing it.

Option 1 – via DCUI.

To set the ESXi Shell timeout from the Direct Console User Interface (DCUUI), just 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.

Once done, press Esc until you return to the main menu of the DCUI.

ESXi Shell Timeouts

Option 2 – via Host client (HTML5) Client

Log in to your host > select your host > Configuration tab > Software, click Advanced Settings > In the left panel, click UserVars > In the UserVars.ESXiShellTimeOut field, enter the timeout setting in seconds > OK > done.

ESXi Shell Timeouts in Seconds vsphere client

For the web client is similar… except that you can copy paste the text “UserVars.ESXiShellTimeOut” into the search box to get directly to the necessary value. Restarting the service fixes the value. Then each time you start the service it will stay open only during the time you configured. You can set the service to restart with the host, so in this case after a host restart, you know that you have a certain number of min which you can access the DCUI.

ESXi Shell Timeouts in Seconds

Well, that's about it for today.

If you want the latest How-to, news, videos ant tutorials for vSphere 6.5, just check the dedicated vSphere 6.5 page.

AutoDeploy, ImageBuilder GUI, DHCP series:

  • vSphere 6.5 Image Builder GUI and AutoDeploy
  • VMware vSphere 6.5 and New Image Builder GUI – Cloning a profile
  • VMware vSphere 6.5 AutoDeploy Rules
  • Prepare the DHCP Server for vSphere Auto Deploy Provisioning – VMware vSphere 6.5 – New!!

Also

  • VMware vSphere 6.5 Configuration Maximums
  • How to create a USB media with ESXi 6.5 Installation

Stay tuned through RSS, and social media channels (Twitter, FB, YouTube)

Shares
5/5 - (2 votes)

| Filed Under: Free Stuff, Home Lab Tagged With: Three Ways to Enable ESXi Shell and Tip to configure Timeout

About Vladan SEGET

This website is maintained by Vladan SEGET. Vladan is as an Independent consultant, professional blogger, vExpert x16, Veeam Vanguard x9, VCAP-DCA/DCD, ESX Virtualization site has started as a simple bookmarking site, but quickly found a large following of readers and subscribers.

Connect on: Facebook. Feel free to network via Twitter @vladan.

Private Sponsors

Featured

  • Thinking about HCI? G2, an independent tech solutions peer review platform, has published its Winter 2023 Reports on Hyperconverged Infrastructure (HCI) Solutions.
  • Zerto: One Platform for Disaster Recovery, Backup & Cloud Mobility: Try FREE Hands-On Labs Today!
Click to Become a Sponsor

Most Recent

  • Veeam Backup & Replication v13 Beta: A Game-Changer with Linux
  • What is Veeam Data Cloud Vault and how it can help SMBs
  • Nakivo Backup and Replication – Malware Scan Feature
  • Zerto 10 U7 released with VMware NSX 4.2 Support
  • XorMon NG 1.9.0 Infrastructure Monitoring – now also with Veeam Backup Support
  • Heartbeat vs Node Majority StarWind VSAN Failover Strategy
  • Vulnerability in your VMs – VMware Tools Update
  • FREE version of StarWind VSAN vs Trial of Full version
  • Commvault’s Innovations at RSA Conference 2025 San Francisco
  • VMware ESXi FREE is FREE again!

Get new posts by email:

 

 

 

 

Support us on Ko-Fi

 

 

Buy Me a Coffee at ko-fi.com

Sponsors

Free Trials

  • DC Scope for VMware vSphere – optimization, capacity planning, and cost management. Download FREE Trial Here.
  • Augmented Inline Deduplication, Altaro VM Backup v9 For #VMware and #Hyper-V – Grab your copy now download TRIAL.

VMware Engineer Jobs

VMware Engineer Jobs

YouTube

…

Find us on Facebook

ESX Virtualization

…

Copyright © 2025 ·Dynamik-Gen · Genesis Framework · Log in