There can be instances where one might forget the CVM password and is not able to access the command line.
Is there a way we can recover/reset the CVM password?
Well, there is a way to recover/reset your CVM nutanix password using the prism console. Of course for that, one needs to have the prism password in hand.
We can set up passwordless ssh by generating ssh keys from your pc/desktop and then adding your public key to the cluster through the prism.
So when you try to login to the CVM from the same pc/desktop, it will not prompt you to enter the password and will directly log you in.
The article detailing the steps on how to do the above is KB-1895
Now once you’re in, you can change the password by simply following KB-2233
Have any questions? Drop a comment and let’s start a discussion.