SSH Shell Access
Staging environments provide SSH shell access for developers to run commands directly on your WordPress site.
What You Can Do
With SSH access, you can:
- Run WP-CLI commands to manage WordPress
- Use Composer to manage PHP dependencies
- Push code changes with Git
- Transfer files with SCP, rsync, or SFTP
- Browse files with ls and cat
Quick Start
# Connect to your staging site
ssh [email protected] 'wp plugin list'
Replace mysite with your site's slug (found in your dashboard URL).
Available Commands
| Command | Description |
|---|---|
ls | List files and directories |
cat | View file contents |
wp | WP-CLI commands |
composer | PHP dependency management |
git | Version control (full suite) |
scp | Secure file copy |
rsync | File synchronization |
sftp | Interactive file transfers |
help | Show available commands |
exit | Exit interactive shell |
Staging Only
SSH shell access is only available for staging environments. Production environments use immutable deployments.
Interactive Mode
Connect without a command to enter interactive mode:
You'll see a prompt where you can run multiple commands:
WordPress Restricted Shell
Type 'help' for available commands, 'exit' to quit.
wp-shell> wp plugin list
wp-shell> ls wp-content/themes
wp-shell> exit
Security
- Restricted shell - Only whitelisted commands are allowed (no bash/sh)
- All commands are logged - For security auditing
- Key-based authentication - Password authentication is not supported
- Path traversal protection - Cannot access files outside WordPress root