The error would  occur in vcetner 6.5 vcenter appliance while accessing through winSCP

  1. 1- Login to the VCSC appliance ( in my case password was expired so I had to reset the password first.)


# chsh –s /bin/bash root  ( run this command )



You can change the settings back to default with following command:


#chsh -s /bin/appliancesh root