Change and recover cloud server password
You can view the password for the root user in control panel under Cloud platform → Servers → server page → tab Console → field Password.
If you have forgotten or lost your password, you can change in the control panel.
If authorization with a new password doesn't work or you have trouble changing it, reset your password through the Rescue recovery and diagnostic mode.
Change password
- In control panel go to Cloud platform → Servers.
- Open the server page → tab Console.
- Click Generate a new.
Error when changing the password
If an error occurs during password generation Unable to set password on instance
, perform a programmatic reboot of the cloud server.
The error may occur due to a small server disk capacity. The disk memory is occupied by the logs, so the required operations for changing the password are unavailable. After restarting the server, some of the logs are deleted and disk space is available.
Restore password
Linux
Windows
-
Connect to a cloud server in Rescue mode through the console in the control panel or SSH.
-
Change the root directory of the OS:
infiltrate-root
-
Change the password for the root user:
passwd root
-
Enter the new password twice. The password will not be displayed on the command line.
-
Wait for a response that the password has been changed:
passwd: password updated successfully
-
Exit Rescue mode. The server will automatically reboot.