This article provides steps to allow SSH access to VMware vCenter Severs with public/private key authentication rather than with username/password authentication.
VMware VCenter Server
To allow SSH access to vCenter server with public/private key authentication:
The utility creates two files in the current user’s profile directory (%USERPROFILE%.ssh):
id_rsa – private key
Now to test the login without entering credentials :
Note : This setup is limited to root user account (i.e. localos accounts). We can create user in vCenter from ssh with root access but, we will not be able to login with it. And, for sso accounts ([email protected]) it is not possible to create ssh key authentication.