How to Connect to Your Server via SSH

Knowledgebase / How to Connect to Your Server via SSH

How to Connect to Your Server via SSH

0 found helpful (0 votes) ...
Back to Knowledgebase

SSH (Secure Shell) lets you connect to your hosting account from a terminal and run commands directly on the server. It is available on all TPC Hosting plans that include SSH access.

What you need

  • Your cPanel username and password
  • Your server hostname or IP address (found in your welcome email or cPanel)
  • A terminal application

Finding your SSH hostname

  1. Log in to cPanel.
  2. In the top-right corner you will see your server information. Your hostname is listed there, or use your domain name directly.

Connecting from Windows

  1. Open PowerShell or Windows Terminal (both have SSH built in on Windows 10 and later).
  2. Type the following command and press Enter:
    ssh yourusername@yourdomain.com
  3. When prompted, type your cPanel password and press Enter. The password will not be visible as you type — this is normal.
  4. If this is your first connection, type yes when asked to confirm the host fingerprint.

Connecting from macOS or Linux

  1. Open Terminal.
  2. Type the following command and press Enter:
    ssh yourusername@yourdomain.com
  3. Enter your cPanel password when prompted.

SSH port

The default SSH port is 22. If your server uses a custom port, add -p portnumber to the command:
ssh -p 2222 yourusername@yourdomain.com

Tip: Once connected, type exit to close the SSH session.


Was this article helpful?



Still need help?

Open a support ticket →

On This Page