unfortunately all my server passwords are lost including Vcenter Single Sign-On command line and Vsphere client, So i can't connect to it and i need a method to restart the password
You don't say which version of vCenter you are running but in all cases the process is to:
- Reset the root password (I'm assuming you don't know that either) - https://kb.vmware.com/s/article/2147144 lists the steps on how to do that and then
- Reset the SSO password - http://vcloud-lab.com/entries/vcenter-server/how-to-reset-vcenter-server-sso-administrator-vsphere-local-password this blog post does a good job explaining how that can be done via the CLI or UI.
Thanks for sharing the info.
Connect to vCenter Server Appliance through SSH. Press 3 to enter the Reset account password option. A new password is generated.