Skip to main content
If you have lost your VPS password, the console can generate a new one. The change goes through cloud-init, the tool that configures the server when it boots: the console hands it the new password, then reboots the VPS so it applies it.
Prerequisites
  • A Linux VPS at OnetSolutions (the option does not exist for Windows)
  • A role that can read the instance’s credentials (owner or editor)

Change the password

1

Open the connection menu

On your VPS page, click Connect (SSH).
2

Start the change

Choose Change password, read the warnings, then click Reboot and change the password.
3

Copy the new password

The VPS reboots, usually in less than a minute. The new password then appears with the IP address and the username: copy it before closing the window.
  • The VPS always reboots: expect a short interruption of your services.
  • The password is shown only once. Store it in a password manager.
  • The change is not guaranteed: it works only while cloud-init is still active on the server. If you removed or reconfigured it, or turned the option off (see below), the old password keeps working.
If the change does not go through, you can still connect with an SSH key or through the KVM console, or reinstall the system.

Turn this option off

You may prefer that nobody but you can change your server’s password, not even from the console.

At install

When you order or reinstall a VPS, untick Allow password changes from the console in the authentication options. The server is then installed with cloud-init set to ignore any password change, and the console’s Change password entry is greyed out with “Turned off at install”. To turn it back on, reinstall the VPS with the box ticked.

On a server already installed

Log in as root and run:
This file removes from cloud-init the module that applies passwords. The console still offers the option, but the server ignores it: a requested change reboots the VPS without touching your password. To allow the change again, delete the file: