This guide explains how to access the rescue system on your HOSTDOG Cloud VPS or dedicated server, what you can do in rescue mode, and how to return to normal operation after making repairs.
When to use rescue mode
Boot into rescue mode when:
- Your server does not start after an update or configuration change
- You are locked out due to a firewall misconfiguration or SSH key issue
- The file system is corrupted and needs repair
- You need to recover data from a server that cannot boot normally
- You want to reset the root password
Access the rescue system
Navigate to the HOSTDOG homepage and click the Log in button. Go to Services, select your VPS or dedicated server, and look for the Rescue option in the server management panel. [VERIFY: exact UI path for activating rescue mode in Client Area]
Click Activate Rescue. The system generates temporary root credentials that are displayed on screen or sent to your email.
After activating rescue mode, trigger a reboot from the management panel. The server will start in the rescue environment instead of your normal OS.
Connect using the temporary credentials:
ssh root@YOUR_SERVER_IP
You are now in a minimal Linux environment. Your server's disks are not mounted automatically — you need to mount them manually to access your files.
Common rescue tasks
Mount your file system
# List available disks
lsblk
# Mount your main partition (typically /dev/sda1 or /dev/vda1)
mount /dev/sda1 /mnt
Fix a broken SSH/firewall configuration
# Edit firewall rules
nano /mnt/etc/ufw/user.rules
# Or reset SSH config
nano /mnt/etc/ssh/sshd_config
Reset the root password
# Chroot into your installed system
mount --bind /dev /mnt/dev
mount --bind /proc /mnt/proc
mount --bind /sys /mnt/sys
chroot /mnt
# Change the password
passwd root
Repair the file system
# Unmount first, then check
umount /mnt
fsck /dev/sda1
Return to normal mode
After completing your repairs:
- Unmount all mounted partitions:
umount /mnt - Go back to your server management panel in the Client Area
- Deactivate rescue mode
- Reboot the server — it will start from your normal operating system