← Back to Hosting Management

Using the Terminal (SSH Access)

SSH (Secure Shell) gives you command-line access to your hosting server. It's more powerful than cPanel for bulk file operations, running scripts, and troubleshooting. SSH access is available on all Double Hosting plans.

Enabling SSH Access

SSH access is enabled by default. Your SSH credentials are the same as your cPanel username and password. Some plans require you to enable SSH from Security > Manage Shell in cPanel β€” set it to Normal Shell.

Connecting via SSH

Open your terminal (macOS/Linux) or PuTTY (Windows). Connect with:

ssh username@yourdomain.com -p 22

Replace username with your cPanel username and yourdomain.com with your domain. Accept the server fingerprint and enter your password.

Useful Commands

# Navigate to web root\ncd ~/public_html\n\n# List files (including hidden)\nls -la\n\n# Check disk usage\ndu -sh ~/public_html/*\n\n# View last 50 error log lines\ntail -50 ~/public_html/error_log\n\n# Extract a ZIP file\nunzip archive.zip -d /destination/\n\n# Run WP-CLI\nwp plugin list --allow-root

Using SSH Keys (More Secure)

Password-based SSH is convenient but SSH keys are more secure. Generate a key pair on your computer and add the public key to ~/.ssh/authorized_keys on the server. See the Security section for a detailed guide.

Was this article helpful?

On This Page