Pressillion gives you complete control over your managed servers, including full root access. This enables advanced users and developers to execute tasks directly via the command line using tools like WP-CLI or to follow advanced WordPress server management tutorials.
This guide explains how to connect to your server as the root user via SSH.
📚 Table of Contents
- Step 1: Upload and Assign an SSH Key
- Step 2: Connect as Root Using SSH
- Alternative SSH Commands
- Common Issues & Troubleshooting
- FAQ
- Sources
✅ Step 1: Upload and Assign an SSH Key
Before you connect to your server, make sure you have an SSH key uploaded in your Pressillion SSH Settings.
If you don’t already have an SSH key:
Generate one using one of the following tools:
- Mac/Linux: Terminal (
ssh-keygen
command) - Windows: PuTTY, CMD, PowerShell, or Windows Subsystem for Linux (WSL)
- Cross-platform: Termius
Once generated, copy the contents of the public key (typically located at ~/.ssh/id_rsa.pub
or ~/.ssh/id_ed25519.pub
) and paste it into the SSH Settings area in your Pressillion dashboard.
⚠️ Regardless of the name you give your key in the dashboard, it will be added as a root-level key on the server. This means it grants full administrative access.
🔗 Step 2: Connect as Root Using SSH
Once your key is uploaded and assigned to your server, connect using your preferred terminal or SSH client.
Using Termius (Recommended)
- Open Termius
- Create a new host with the following details:
- Hostname: Your server’s IP address
- Username:
root
- SSH Key: Link your private key file
- Click “Connect”
Using Command Line (Mac, Linux, WSL)
Run the following command:
Example:
🧪 Alternative SSH Commands
If your private key is not located in the default directory or your shell doesn’t auto-detect it, use the -i
flag:
Examples:
🛠 Common Issues & Troubleshooting
Error Message | Cause | Solution |
---|---|---|
Permission denied (publickey) | SSH key not linked properly | Ensure your public key is uploaded and linked to the server |
Connection timed out | Firewall or IP issue | Make sure your local IP is allowed or try from another network |
Key is not accessible | Wrong path or file permissions | Ensure correct key file path and permissions (e.g., 600) |
❓ FAQ
Can I use a passphrase-protected SSH key?
Yes, but you’ll be prompted to enter the passphrase when connecting.
Can I share SSH access with my team?
Yes, each user can upload their own SSH key in the dashboard.
What if I lose my private key?
You will need to generate a new key pair and update your server settings accordingly.
🔗 Sources
- Termius SSH Client
- OpenSSH Manual
- Generating SSH Keys on macOS and Linux
- Using SSH in Windows
- Pressillion Dashboard
Need help setting this up? Contact our support team.