Unable to SCP into vCenter Server Appliance

Loading

As we try to upload files from vCenter server appliance using WinSCP we will get this error as “host is not communicating for more than 15 seconds. Still waiting.


The fix to this issue is to login to the vCenter via ssh and switch the shell as shown

Command> shell.set –enabled True

It will enter into Appliance shell mode then run the command to verify the current shell the root user is logged into

root@ash-vcsa01 [ ~ ]# echo “$SHELL”
/bin/appliancesh

Run the command to switch root user to use bash shell

chsh -s /bin/bash root

You should now be able to connect to the appliance via WinSCP

To revert back to appliance shell for root

chsh -s /bin/appliancesh root

(Visited 266 times, 1 visits today)

By C A Thomas

Chinchu A. Thomas is an Infrastructure Analyst specializing in Microsoft Azure, the Microsoft 365 suite, AWS, and Windows infrastructure management products.

Leave a Reply