Skip to main content

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

CommandDescription
lsList files and directories
catView file contents
wpWP-CLI commands
composerPHP dependency management
gitVersion control (full suite)
scpSecure file copy
rsyncFile synchronization
sftpInteractive file transfers
helpShow available commands
exitExit 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