Error when trying to access VMware PSC with WinSCP (6.7)

For a customer, I needed to upload a script towards the PSC, and my favourite tool for that is WinSCP.
However, when trying to access, I got the following Error.

Afbeelding met schermafbeelding Automatisch gegenereerde beschrijving

The reason for this is that the default shell within the PSC, doesn’t allow access from the WinSCP.
So we need to change default shell to accept bash.

First SSH to the PSC, and once logged in type “shell”

Afbeelding met schermafbeelding Automatisch gegenereerde beschrijving

Sometimes the command doesn’t work and you need to enable shell which can be done with the command:

shell.set --enable True

Then as last step in the Bash shell, run the following command to change the default shell to Bash:

chsh -s /bin/bash root

And Voila, you have access.

Afbeelding met schermafbeelding Automatisch gegenereerde beschrijving

↑↑ Follow me on my Socialz ↑↑ - Or - ↓↓ Care & Share ↓↓

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.