Currently, the vCSA is bundled with these supported shells:
- BASH Shell
- Appliance Shell
Switching the vCenter Server Appliance 6.x to BASH Shell
- Log in to the vCenter Server Appliance through SSH.
- Run this command to enable access the Bash shell:
shell.set --enabled true
- Type shell and press Enter.
- In the temporary BASH shell, run this command to permanently configure the default Shell to BASH for Root:
chsh -s /bin/bash root
- Log out from the BASH Shell.
- Log in again for the changes to take effect.
Note: For 6.7 please do the below.
- Log in to the vCenter Server Appliance through SSH.
- Type shell and press Enter.
- In the temporary BASH shell, run this command to permanently configure the default Shell to BASH for Root:
chsh -s /bin/bash root
- Log out from the BASH Shell.
- Log in again for the changes to take effect.
Switching the vCenter Server Appliance 6.x to Appliance Shell
- Log in to the vCenter Server Appliance through SSH.
- Run this command to change from using the BASH Shell to the Appliance Shell:
chsh -s /bin/appliancesh root
- Log out from the Appliance Shell.
- Log in again for the changes to take effect.