Forgot password, locked out of admin panel and SSH

:uk:/:us: Message template (english)

My YunoHost server

Hardware: VPS bought online
YunoHost version: Latest
I do not have access to my server : Through SSH | through the webadmin | direct access via keyboard / screen | …
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no
If yes, please explain:

Description of my issue

I’ve been locked out of my YunoHost SSH and admin control panel. I didn’t write down the password. How can I reset this? Is there any way to avoid wiping my VPS?

You need to use the rescue console in order to mount the disk and change the root password and the SSH config to allow root login via SSH.

After what, you can change the admin password with:

yunohost tools adminpw
1 Like

Example guide for DigitalOcean: How to Regain Access to Droplets using the Recovery Console :: DigitalOcean Documentation

You can find similar resources for your VPS provider

Then follow the previous comment

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.