For most hosting tasks, cPanel’s graphical tools are all you need. But when you want speed and power — running a script, managing files in bulk, using developer tools — command-line access via SSH is invaluable. cPanel even includes a Terminal right in your browser. Here’s how to use it.

The browser Terminal

The quickest way in is cPanel’s built-in Terminal, under the Advanced section. Click it, accept the warning, and you’re at a command line inside your account — no separate software needed. It’s perfect for quick commands without setting up an SSH client.

Connecting with an SSH client

For a fuller experience, connect from your own computer using an SSH client (the built-in terminal on Mac and Linux, or a client like PuTTY on Windows). You’ll need:

  • Host: your server hostname (from your welcome email)
  • Username: your cPanel username
  • Port: the SSH port (often 22, but confirm with us)

SSH access may need to be enabled on your account first — if you can’t connect, that’s usually why, so just ask us to switch it on.

What SSH is genuinely good for

  • Bulk file operations: moving, copying or deleting thousands of files instantly, far faster than clicking through File Manager.
  • Compressing and extracting archives: zipping a whole site or unpacking a large archive in seconds.
  • Running scripts: executing PHP or other scripts directly, with no browser timeout to worry about.
  • WordPress via WP-CLI: if available, managing WordPress from the command line — updates, database operations, search-and-replace — is dramatically faster than the dashboard.

Handy starter commands

ls lists files in the current folder; cd foldername moves into a folder; du -sh * shows the size of each item (great for finding what’s eating disk space); and tar -czf backup.tar.gz foldername compresses a folder. These few commands already cover a lot of ground.

A note of caution

The command line is powerful, which means it can do damage quickly — there’s no “are you sure?” before a deletion. Double-check commands before running them, especially anything that removes files. When in doubt, take a backup first, and don’t run commands you found online without understanding them.

Not for everyone, and that’s fine

If the command line isn’t your thing, you can run your whole site perfectly well through cPanel’s graphical tools. SSH is there for when you want the extra speed and control. If you need SSH enabled or want help with a specific command-line task, we’re happy to assist.

Was this article helpful to you?

admin

Leave a Reply

You must be logged in to post a comment.