I was doing some changes in my VCSA 6.0 vCenter server and I wanted to copy some files from the VCSA appliance. Hope you know that we are mostly use WinSCP to connect to the vCenter server and copy files in and out from the appliance.
When I was trying to connect to the vCenter server appliance from WinSCP I was getting this error message.
I was finding a fix for this and was able to find the below steps to fix the above error message.
Open your Putty connection to the Appliance (Make sure to enable the ssh connections to the VCSA)
Accept the certificate warning!
Type the “root” as the username and root password
shell.set --enable True
Note: If you need to revert it back to the Appliance shell use chsh -s /bin/appliancesh root and re-login to the appliance using ssh