Skip to content

Month: April 2022

Access vCenter by SCP (WinSCP)

 

To be able to access the vCenter with WinSCP it is necessary to change the default shell to Bash

  1. Initiate an SSH connection to the vCenter Server Appliance.
  2. Provide the root user user name and password when prompted.
  3. Run the following command to enable the Bash shell:shell.set –enable True
  4. Run the following command to access the Bash shell:shell
  5. In the Bash shell, run the following 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. Return to the Appliance Shell by running the following command:chsh -s /bin/appliancesh root 

     

    For more information:
    https://kb.vmware.com/s/article/2107727