This comprehensive guide explains how to enable SSH (Shell Access) for your cPanel hosting account, connect directly from your personal computer terminal, and resolve connection issues by unblocking your IP address from the BahariHost Client Area.


Step 1: Enable SSH / Shell Access from BahariHost Client Area

By default, Shell Access is kept disabled on new hosting accounts for security reasons. Follow these steps to activate it instantly:

  1. Log in to your BahariHost Client Area.
  2. From the dashboard navigation menu, click on Services (or My Services).
  3. Select the active cPanel hosting package where you want SSH access enabled.
  4. On the Service Details page, locate the Shell Access toggle switch (by default, it will be in the Disabled / Off position).
  5. Simply click the toggle switch to turn it ON. Your cPanel account will immediately receive SSH access permissions.
Verification via cPanel:
Click the "Login to cPanel" button inside your Client Area. In the cPanel search box, type "Terminal". You will notice the Terminal application is now active and ready for use directly in your browser.

Step 2: Connect via SSH from Your Computer (PowerShell, CMD, or Terminal)

You can manage your files, Git repositories, and development workflows directly from your local computer terminal:

  1. Open PowerShell or Command Prompt (CMD) on Windows (or open Terminal on macOS / Linux).
  2. Run the following SSH command:
    ssh username@server_ip_or_hostname
    (Example: ssh [email protected] — replace username with your actual cPanel username and provide your server's IP address or hostname).
  3. Press Enter. The system will prompt you for your cPanel password. Type your password and hit Enter.
    Note: For security reasons, Linux terminals do not display asterisks (*) or characters while typing passwords. Simply type your password accurately and press Enter.
  4. Once authenticated, you will have complete command-line access to your hosting environment. Type ls to view your files and directories.

Step 3: Resolve "Connection Timed Out" & Unblock Your IP Address

If you enter an incorrect password multiple times or trigger automated firewall rate limits, the server firewall will temporarily block your IP address, resulting in a "Connection timed out" error. You can unblock yourself immediately without waiting for support:

  1. Return to the BahariHost Client Area and open your Service Dashboard.
  2. Click on the IP Unblock feature located in the management panel.
  3. For Your Current Device: The system automatically detects your current public IP address. Simply click Allow / Unblock to remove the firewall block instantly.
  4. For Another Device or Network:
    • On the affected device, open your web browser and search for whatismyip.
    • Copy your public IPv4 address (e.g., 103.8.31.163).
    • Paste it into the IP Unblock field in your Client Area and click Allow.

Prefer a visual walkthrough? Watch our Video Tutorial!

If you would like to see these steps performed in real-time, please watch our step-by-step video guide below:

If you continue to experience connectivity issues after following this guide, please submit a ticket to our 24/7 technical support team. Happy Hosting with BahariHost!

War diese Antwort hilfreich? 0 Benutzer fanden dies hilfreich (0 Stimmen)