There was a problem loading the comments.

How to Reset Your VPS Root Password

Support Portal  »  Knowledgebase  »  Viewing Article

  Print
  • Thursday 26th March 2026 9:30 AM

If you have forgotten your VPS root password or need to reset it, you can do this directly from the VirtFusion control panel.

 

Resetting the Password from VirtFusion

  1. Log in to cp.vps.ezscale.tech
  2. Select your server
  3. Go to Settings → Reset Password
  4. The new password will be displayed once. Copy it immediately and store it somewhere safe.

 

After the Reset

SSH into your server with the new password:

ssh root@YOUR_VPS_IP

Once logged in, change the password to something you will remember:

passwd

 

Cannot SSH In After Password Reset?

If the password was reset but you still cannot log in via SSH, the issue is usually the SSH server configuration. Use the VNC Console in VirtFusion to access your server and check:

1. Check if password authentication is enabled:

grep -i "PasswordAuthentication" /etc/ssh/sshd_config

 

If it says PasswordAuthentication no, change it to yes:

sudo nano /etc/ssh/sshd_config

 

Find the line and change it to:

PasswordAuthentication yes

2. Check if root login is permitted:

grep -i "PermitRootLogin" /etc/ssh/sshd_config

 

It should be set to yes or prohibit-password (the latter allows key-based login only). To allow password login as root, set it to yes.

3. Restart SSH to apply changes:

sudo systemctl restart sshd

 

Use SSH Keys Instead (Recommended)

Passwords can be guessed or brute-forced. SSH keys are much more secure. Here is how to set them up:

On your local computer, generate a key pair:

ssh-keygen -t ed25519

Copy the public key to your VPS:

ssh-copy-id root@YOUR_VPS_IP

Or manually add it. On your VPS, paste your public key into:

nano ~/.ssh/authorized_keys

Now you can log in without a password:

ssh root@YOUR_VPS_IP

 

Password Reset Not Working?

If the password reset button in VirtFusion does not change your password, the qemu-guest-agent may not be installed or running on your VPS. This agent is required for the panel to communicate with your OS.

If you can still access your VPS via VNC, you can install it:

# Ubuntu/Debian
sudo apt install qemu-guest-agent
sudo systemctl enable --now qemu-guest-agent

# AlmaLinux/Rocky
sudo dnf install qemu-guest-agent
sudo systemctl enable --now qemu-guest-agent

If you cannot access your VPS at all, please open a support ticket and we will assist you.


Share via
Did you find this article useful?  

Related Articles


Comments

Add Comment

Replying to  

© EZSCALE Hosting, LLC