OVH VPS root password lost/ forgotten

For obvious security reasons, OVH has no access to your server’s root password.

In the OVH Manager, select your VPS from the Infrastructures list. From there, on the right-hand side of the page, you can click on the "Reset the password" button.

Once your VPS has rebooted, an email containing a temporary password will be sent to you.

Connect to your VPS via SSH using the temporary password that was sent to you.

On the command line interface, enter the following:
$ fdisk -l

It will list the partitions on your HDD. It should look something like /dev/vdb1 * or /dev/sdb1 *
From this point on, I will use /dev/sdb1 as an example, but depending on your output in the previous step, you may have to use /dev/vdb1
Run the following command:
$ mount /dev/sdb1 /mnt
(You may get a message that it is already mounted)

Then enter:
$ chroot /mnt

Finally, generate your own root password with:
$ passwd

Once all of this is done, restart your VPS in normal mode from the control panel and you will then be able to connect using your new password.


  1. Wow.Maybe I can share on it on my website. one password

  2. VPS Hosting is the normal decision now for little just as medium scale endeavors. VPS Hosting is practical just as highlight rich so individuals think that its progressively appealing when contrasted with devoted servers just as Shared Hosting arrangements.

    1. I am glad that I saw this post. It is informative blog for us and we need this type of blog thanks for share this blog, Keep posting such instructional blogs and I am looking forward for your future posts.
      Cyber Security Projects for Final Year

      JavaScript Training in Chennai

      Project Centers in Chennai

      JavaScript Training in Chennai

  3. VPS is a "Virtual Private Server". In essential terms it is a different PC that you can sign in to. You can sign in to your VPS and set up your MT4 stages there simply like you would on your home PC work area. An extraordinary preferred standpoint of this is it conveys request to your exchanging. No all the more having five MT4 stages up on your PC while attempting to browse email, complete a report, be on Facebook, and tune in to music. That is the thing that I call "Diversion Central". With a VPS you can have all your MT4 stages on there! Truly! monovm vps

  4. This is a big problem but you can change it by actually changing the password on your system and then logging in. reset windows 10 password

  5. Utilizing control board you can undoubtedly make changes in your current website and oversee things

  6. This is a wonderful article, Given so much info in it, These type of articles keeps the users interest in the website, and keep on sharing more ... good luck. vps

  7. You there, this is really good post here. Thanks for taking the time to post such valuable information. Quality content is what always gets the visitors coming. Bolt Posts

  8. You can have various records on a similar server which implies that you can have different sites under the equivalent Virtual Server.
    Linux VPS

  9. I learn some new stuff from it too, thanks for sharing your information. windows iso