Search the VMware Knowledge Base (KB)
View by Article ID

Toggling the vCenter Server Appliance 6.x default shell (2100508)

  • 18 Ratings
Language Editions

Purpose

This article provides vSphere Administrators steps to toggle between default shells available on the vCentrer Server Appliance (vCSA).

Resolution

Currently, the vCSA is bundled with these supported shells:
  • BASH Shell
  • Appliance Shell

Switching the vCenter Server Appliance 6.x to BASH Shell

  1. Log in to the vCenter Server Appliance through SSH.
  2. Run this command to enable access the Bash shell:

    shell.set --enabled true

  3. Type shell and press Enter.
  4. In the temporary BASH shell, run this command to permanently configure the default Shell to BASH for Root:

    chsh -s /bin/bash root

  5. Log out from the BASH Shell.
  6. Log in again for the changes to take effect.

Switching the vCenter Server Appliance 6.x to Appliance Shell

  1. Log in to the vCenter Server Appliance through SSH.
  2. Run this command to change from using the BASH Shell to the Appliance Shell:

    chsh -s /bin/appliancesh root

  3. Log out from the Appliance Shell.
  4. Log in again for the changes to take effect.

Additional Information

If you see the error message Access Denied when logging into an SSH session, see 2146205.

See Also

Request a Product Feature

To request a new product feature or to provide feedback on a VMware product, please visit the Request a Product Feature page.

Feedback

  • 18 Ratings

Did this article help you?
This article resolved my issue.
This article did not resolve my issue.
This article helped but additional information was required to resolve my issue.

What can we do to improve this information? (4000 or fewer characters)




Please enter the Captcha code before clicking Submit.
  • 18 Ratings
Actions
KB: