Cannot use WinSCP to move files to vCenter Server Appliance
Possible error text:
Connecting to vCenter Server using WinSCP fails with the error: "Received too large (1433299822 B) SFTP packet. Max supported packet size is 1024000 B"
Attempting to upload a file to the vCenter Server using the SCP protocol via WinSCP, PSCP or other SCP clients fail with the error: "Host is not communicating for more than 15 seconds. If the problem repeats, try turning off 'Optimize connection buffer size'"
By default, VCSA is set to Appliance Shell, but SCP requires Bash shell. Enable Bash Shell on the appliance.
- SSH to vCenter Server Appliance
- Access BASH
shell
- Change default shell to BASH
chsh -s /bin/bash root
- Upload the files you need through WinSCP
- Roll the changes back for security purposes
chsh -s /bin/appliancesh root