๐ Enabling Remote Root SSH Access
Sometimes, ggCircuit staff may request that you enable remote SSH access as the root user. This allows them to assist with system administration, image backups/restores, or troubleshooting.
โ ๏ธ Heads-up: Allowing remoterootaccess over SSH is generally not recommended for long-term use. If possible, consider creating a separate administrative user instead. If you do proceed, be sure yourrootpassword is strongโat least 12+ characters, ideally randomized.
๐ ๏ธ How to Enable Root Login via SSH
You can enable remote root access by running the following commands on your Debian-based server:
sed -i 's/#PermitRootLogin prohibit-password/PermitRootLogin yes/g' /etc/ssh/sshd\_config
systemctl restart sshd.service
โ Tip: If you're using the Debian Control Panel, it's a good idea to make these changes there for easier management.
๐ซ Disabling Root Access (When You're Done)
As soon as remote assistance is no longer needed, itโs highly recommended to disable root access again to protect your system:
sed -i 's/PermitRootLogin yes/#PermitRootLogin prohibit-password/g' /etc/ssh/sshd\_config
systemctl restart sshd.service
Keeping your system secure is always the priority. Let us know if you need help creating a secure admin user instead!
Updated on: 10/12/2025
Thank you!
