Hostxpeed
Login Get Started →
Control Panel

How to Reset HestiaCP Admin Password

4 min read
85 views
Jun 13, 2026

Prerequisites

Before resetting admin password, make sure you have:

  • SSH access to your VPS
  • Root or sudo privileges

Method 1: Reset via SSH

ssh hxroot@YOUR_SERVER_IP -p 22
/usr/local/hestia/bin/v-change-user-password admin

Enter new password when prompted (twice).

Method 2: Direct Database Reset (Emergency)

If HestiaCP commands don't work, edit database directly:

mysql -u root -p hestia

Generate new password hash:

SELECT PASSWORD('newpassword');

Update user table:

UPDATE user SET password = 'hashed_password' WHERE user = 'admin';
FLUSH PRIVILEGES;
EXIT;

Method 3: Password Recovery via Email

If email is configured, use "Forgot Password" on HestiaCP login page.

After Password Reset

  • Log in with new password
  • Test SSH access if using panel for SSH management
  • Notify other admins of password change

✅ Admin password has been reset successfully!

Was this article helpful?