All Collections
VPS
VPS management
How to reset login credentials on VPS?
How to reset login credentials on VPS?
Setting up new admin credentials on different operating systems
Updated over a week ago

In case you have forgotten your login credentials or have issues accessing your VPS, you can easily reset your admin login credentials. To do that, connect to your VPS via SSH and follow the specific instructions for the OS you're using:


Resetting CyberPanel login credentials

Once you've connected to your VPS via SSH, enter the following command, making sure to replace pass with the actual password you want to use for the admin account:

/usr/bin/adminPass pass

That's all, you have just reset your login credentials! Now you can log in to your CyberPanel control panel.


Resetting VestaCP login credentials

After connecting to your VPS via SSH, enter the following command, making sure to replace pass with the actual password you want to use for the admin account:

v-change-user-password admin pass

That's it, your login credentials are reset now and you can log in to your VestaCP control panel.


Resetting HestiaCP login credentials

From the SSH terminal once connected to your VPS, use the following command, making sure to replace pass with the actual password you want to use for the admin account:

v-change-user-password admin pass

All set! Your new login credentials are in place and you can log in to your HestiaCP control panel.


Resetting DirectAdmin login credentials

After connecting to your VPS via SSH, enter the following command, making sure to replace pass with the actual password you want to use for the admin account:

echo "admin:pass" | chpasswd

And there you have it! Now you can log in and configure your DirectAdmin control panel.


Resetting TightVNC Server login credentials

On the SSH terminal once connected to your VPS, enter the following command:

vncpasswd 

It will then prompt you to enter your new password two times - first to set the new password and the second to confirm it:

$ vncpasswd 
Password:
Verify:


That's it, your login credentials are reset now and you can log in to your TightVNC Server control panel.


Resetting Game Panel login credentials

Resetting your Game Panel requires a few steps after connecting to your VPS via SSH. First, stop all the running processes with this command:

su - amp -c "ampinstmgr stop ADS01"

Next, set login credentials for the Root Admin account. Make sure that you change user to the username you want to use and pass to the password you want to use:

su - amp -c "ampinstmgr resetlogin ADS01 user pass"

Finally, start Game Panel processes again:

su - amp -c "ampinstmgr start ADS01" 

And there you have it. You have reset your Game Panel login credentials using these three commands! Now you can log in and configure your game servers.

Did this answer your question?