Changing between Appliance shell and bash shell

I initially logged into the Bash shell on the vCenter server, but when I needed to switch to the appliance shell to run specific commands, I struggled with the process. This challenge prompted me to create this article to help others avoid similar issues. The situation occurred when I needed to switch shells while patching the vCenter server.

If you are in an SSH session with the vCenter server and running commands in the Bash shell, but need to switch to the appliance shell, follow these steps:

Run the following command to change the shell to the appliance shell
chsh -s /bin/appliancesh root

Then type:
Exit

Log back in, and you will be prompted to select the shell you wish to use.