# Reset the root password
Source: https://docs.webgee.com/en/servers/how-to-reset-root-password-from-webgee-cloud-console









Reset your server's root password. Applies to all VPS and dedicated servers,
Linux and Windows.

## Reset it [#reset-it]

1. Open the [Cloud Console](https://console.webgee.cloud), either directly or
   via **Client Area → your server → Open Cloud Console**.

2. Select **Manage** beside the server.

   <img alt="Selecting Manage on a server" src="__img0" />

3. Open the **Options** tab, then **Password**.

   <img alt="The Options tab" src="__img1" />

4. Select **Reset Password**.

5. Choose the user — **root** on Linux, **Administrator** on Windows.

   <img alt="Selecting the user to reset" src="__img2" />

6. Confirm.

<Callout type="warn">
  The server usually needs to be **powered off** for the reset to apply, and it
  is restarted as part of the process. Anything running on it stops. Do this at a
  time you can afford a brief outage.
</Callout>

The new password is shown in the console, or emailed to you.

## Check it worked [#check-it-worked]

```bash
ssh root@203.0.113.10
```

Change it to something of your own on first login:

```bash
passwd
```

<Callout type="info">
  Better still, set up key authentication and stop using the password entirely —
  see [Add an SSH key](/en/servers/ssh-keys) and
  [Connect over SSH](/en/development/connect-via-ssh). A key cannot be guessed,
  and there is nothing to lose track of.
</Callout>

## If you still cannot log in [#if-you-still-cannot-log-in]

* **`Permission denied` immediately** — SSH may be configured to refuse root
  password logins (`PermitRootLogin prohibit-password`). Use
  [rescue mode](/en/servers/rescue-mode-and-vnc) to edit
  `/etc/ssh/sshd_config`, or connect via VNC where SSH configuration does not
  apply.
* **The connection times out** — a firewall on the server is blocking you.
  Rescue mode or VNC will get you in.
* **`Host key verification failed`** — expected after a rebuild, not a password
  reset. Clear the old entry: `ssh-keygen -R 203.0.113.10`.

## Related [#related]

* [Rescue mode and VNC](/en/servers/rescue-mode-and-vnc)
* [Add an SSH key](/en/servers/ssh-keys)
* [Manage your server](/en/servers/server-management)
