Tuesday, May 28, 2019

Cannot access VCSA via WinSCP

One of my student asked me about how to connect to VCSA with file management tools like WinSCP? Because he faced with some fatal error like "Received too large (x) SFTP packet. Max supported packet size is (y)" after many trying to connect with WinSCP. It's so important to know that unlike the VMware ESXi, by default you cannot access to the vCenter Server Appliance Linux system files & directories via WinSCP. For enabling this type of access, you should run following shell command to change default bash to Bash:

#chsh -s /bin/bash root

It will be useful for such important file transfer (Upload/Download) like contents of /var/log folder or generated certificates and their associated keys.Also you can revert back this behavior to the default settings (Appliance Shell), by executing the following command:

#chsh -s /bin/appliancesh root
 

No comments:

Post a Comment

I will start a new journey soon ...