Wednesday, 2 March 2016

WinSCP with a 6.x vCenter Appliance

Written by Suhas Savkoor

With 6.x you have two shells. Appliance shell and the bash shell. When you take a SSH session to the appliance, you will enter the appliance shell and you will have to enable the bash shell manually by running two commands that is displayed during the session.

Now, with this setup, if you try to use the WinSCP then the login will fail, as it will not be able to open the bash shell.
So here, we need to set the appliance to open with bash shell as default. To do this, login to the appliance with bash shell access and run the below command:
# chsh -s "/bin/bash" root
You will see the output

Changing login shell for root.
Shell changed.

Now you can WinSCP into your appliance machine.


Post a Comment