Search the VMware Knowledge Base (KB)
View by Article ID

Error when uploading files to vCenter Server Appliance using WinSCP (2107727)

  • 22 Ratings
Language Editions


  • Attempting to upload a certificate file to the vCenter Server Appliance using WinSCP fails
  • You see the error:

    Host is not communicating for more than 15 seconds. If the problem repeats, try turning off 'Optimize connection buffer size'.


When you copy files using WinSCP, part of the operation happens on the target Linux system. The default Appliance Shell cannot be the remote partner of WinSCP. You must enable the Bash shell on the appliance, as follows:
  1. Initiate an SSH connection to the vCenter Server Appliance.
  2. Provide the root user user name and password when prompted.
  3. Run this command to enable the Bash shell:

    shell.set --enable True

  4. Run this command to access the Bash shell:


  5. In the Bash shell, run this command to change the default shell to Bash:

    chsh -s /bin/bash root

  6. Use WinSCP to upload the certificate files to the vCenter Server Appliance.
  7. To return to the Appliance Shell, run this command:

    chsh -s /bin/appliancesh root
Alternatively, you can use PSCP to copy files from a Linux system to the vCenter Server Appliance. On Linux, the commands are run locally and the transfer succeeds.

Language Editions


Request a Product Feature

To request a new product feature or to provide feedback on a VMware product, please visit the Request a Product Feature page.


  • 22 Ratings

Did this article help you?
This article resolved my issue.
This article did not resolve my issue.
This article helped but additional information was required to resolve my issue.

What can we do to improve this information? (4000 or fewer characters)

Please enter the Captcha code before clicking Submit.
  • 22 Ratings