> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://helpdesk.ggcircuit.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# 🔐 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 remote `root` access 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 your `root` password 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!

---