Client Area

How to Set Up SSH Access on Shared Hosting

3 min readPublished 26 Mar 2026Updated 23 Jun 2026243 views

In this article

  • 1SSH Access is Included
  • 2Connecting via SSH
  • 3Step 1: Find Your SSH Details
  • 4Step 2: Connect
  • 5Step 3: Authenticate

How to Set Up SSH Access on Shared Hosting

All Domain India shared hosting plans include SSH access. Here is how to connect and use it.

SSH Access is Included

Tip: SSH access is available on ALL Domain India shared hosting plans (cPanel and DirectAdmin) via CloudLinux. You do NOT need a VPS for SSH.

Connecting via SSH

Step 1: Find Your SSH Details

  1. Log in at https://domainindia.com/support.
  2. Go to Services > click your hosting.
  3. Note the Server Hostname and IP Address.

Step 2: Connect

From macOS / Linux Terminal:

bash
ssh your-cpanel-username@your-server-hostname -p 22

From Windows (PowerShell or Terminal):

bash
ssh your-cpanel-username@your-server-hostname -p 22

From PuTTY (Windows):

  1. Open PuTTY.
  2. Host: your server hostname.
  3. Port: 22.
  4. Click Open.
  5. Login with your cPanel/DirectAdmin username and password.

Step 3: Authenticate

Enter your cPanel or DirectAdmin password when prompted.

Using SSH Key Authentication

For passwordless, more secure login:

  1. On your local machine, generate a key pair:
bash
ssh-keygen -t ed25519
  1. In cPanel, go to Security > SSH Access > Manage SSH Keys.
  2. Click Import Key.
  3. Paste your public key (from `~/.ssh/id_ed25519.pub`).
  4. Click Import.
  5. Authorise the key by clicking Manage > Authorize.

What You Can Do with SSH

  • Git operations — clone, pull, push repositories.
  • Composer — manage PHP dependencies.
  • npm / Node.js — run Node.js applications.
  • Python / pip — run Python scripts and install packages.
  • WP-CLI — manage WordPress from the command line.
  • File management — faster than File Manager for bulk operations.
  • Database management — use mysql command-line client.

Common SSH Commands

CommandWhat It Does
`ls -la`List files with details
`cd public_html`Navigate to website directory
`wp plugin list`List WordPress plugins (WP-CLI)
`mysql -u user -p dbname`Access MySQL database
`composer install`Install PHP dependencies
`node app.js`Run a Node.js app
`python3 script.py`Run a Python script

Using cPanel Terminal

If you prefer a web-based terminal:

  1. Log in to cPanel.
  2. Go to Advanced > Terminal.
  3. A browser-based SSH terminal opens.

Tip: The cPanel Terminal is convenient for quick tasks. For extended work, use a proper SSH client for better performance.

Limitations on Shared Hosting

  • You cannot install system-level packages (no `sudo/apt`).
  • Background processes may be limited by CloudLinux.
  • Port access is restricted (only your allocated ports).
  • Resource limits (CPU, RAM) apply.

Need help? Contact our support team at https://domainindia.com/support/client/support.

Was this article helpful?

Your feedback helps us improve our documentation

Still need help? Submit a support ticket

How to Set Up SSH Access on Shared Hosting