Change Root Password
Change Root Password (When Already Connected)
Once inside server via SSH, run:
passwd
You'll be asked to enter new password twice. Password won't be shown as you type: that's normal.
New password:
Retype new password:
passwd: password updated successfully
Choose secure password: at least 12 characters, uppercase, lowercase, numbers and symbols. Better yet, use SSH keys and disable password access.
Change Another User's Password
To change password of specific user (es. ubuntu, deploy):
passwd username
Forgotten Password: Recovery from Panel
If you forgot root password and can't access via SSH, you can reset it from VNC console in client panel:
If you don't remember that either, contact support for reset via rescue mode.
- Access client panel
- Select your server
- Click Console (VNC/NoVNC) to open direct access
- Login (might require current password)
Reset Password via Rescue Mode
Rescue Mode boots server with temporary live system letting you mount disk and change password without accessing system:
# Identify main partition
lsblk
# Mount disk (es. /dev/vda1)
mount /dev/vda1 /mnt
# Enter system with chroot
chroot /mnt
# Change password
passwd
# Exit and unmount
exit
umount /mnt
Disk name might vary (vda, sda, xvda). Use lsblk to identify correctly.
- Access client panel → select server
- Start Rescue Mode
- Get temporary rescue credentials (sent via email)
- Access via SSH to rescue, then mount main disk:
- Return to panel and restart in normal mode
Gerelateerde artikelen
First Server Access
What to do immediately after activating your VPS or VDS
SSH Keys
How to generate and configure SSH keys for secure password-less access
SSH Access with PuTTY and FileZilla
How to connect to VPS via SSH with PuTTY and manage files with FileZilla on Windows
