How to Use the Built-in Terminal in cPanel’s Dashboard

For many users, managing a website often requires the use of command-line tools. Traditionally, this meant setting up SSH keys and using a third-party client like PuTTY or Terminal on macOS. However, cPanel includes a built-in Terminal interface that allows you to access your account’s command line directly from your web browser.

This tool is perfect for running specific commands, managing files, or executing scripts without the hassle of configuring external SSH software.

Note: This guide is intended for standard cPanel users. You do not need "root" or administrative access to the server to use this feature, but your hosting provider must have the "Shell Access" feature enabled for your account.

Step 1: Log in to cPanel

Begin by logging into your cPanel account.

  • If you are unsure how to log in, check your welcome email from us when you signed up for your account for the direct link (usually https://yourdomain.com:2083 or https://server-ip:2083).

Step 2: Locate the Terminal Application

Once logged in, scroll down to the Advanced section of the cPanel dashboard.

  1. Look for the Terminal icon.
  2. Click on the icon to launch the interface.
Tip: You can also use the search bar at the very top of the cPanel interface and type "Terminal" to find it quickly.

Step 3: Accept the Warning Prompt

If this is your first time accessing the Terminal, cPanel will display a warning message.

  • The message will alert you that command-line access is powerful and that misuse can result in data loss.
  • Click the button labeled I understand and want to proceed.

This screen will not appear on subsequent sessions unless you clear your browser cache.

Step 4: Using the Command Line

Once the interface loads, you will see a black screen with a command prompt (usually ending in $). You are now connected to your server as your specific cPanel user.

You can use standard Linux commands to manage your account. Here are a few common examples:

  • ls -la: Lists all files and directories in the current folder, including hidden ones (like .htaccess).
  • cd public_html: Changes your directory to the public_html folder (your main website folder).
  • pwd: Displays the full path of the directory you are currently in.
  • top: Shows running processes and memory usage (press q to exit).

Troubleshooting & Limitations

  • "Shell Access is not enabled": If you do not see the Terminal icon, or if you receive a permission error, your hosting provider may have disabled SSH access for your specific package. You will need to contact their support team to request it.
  • Session Timeout: The Terminal session will automatically close if you leave the window idle for too long or if you log out of cPanel.
  • No Root Access: As a shared hosting user, you will not be able to use sudo or install global software packages. You are limited to the files and permissions within your own home directory.

Updated on: 17/12/2025

Was this article helpful?

Share your feedback

Cancel

Thank you!