This article provides vSphere Administrators steps to toggle between default shells available on the vCenter Server Appliance (vCSA).
VMware vCenter Server Appliance 6.0.x
VMware vCenter Server Appliance 6.5.x
VMware vCenter Server Appliance 6.7.x
VMware vCenter Server Appliance 7.0.x
VMware vCenter Server Appliance 8.0.x
Currently, the vCSA is bundled with these supported shells:
Switching the vCenter Server Appliance to BASH Shell
shell.set --enabled true
root
:chsh -s /bin/bash root
shell
and press Enter.root
:chsh -s /bin/bash root
Switching the vCenter Server Appliance to Appliance Shell
chsh -s /bin/appliancesh root
Note: This KB explains how to enable SSH on VCSA and also login issues with VCSA.
If you see the error message Access Denied
when logging into an SSH session, see "Access Denied" error when using SSH to login to the appliance