Connecting to Your Server via SSH (macOS Terminal – Firstserv Guide)

macOS includes a built-in Terminal application, which allows you to connect to your hosting account via SSH without installing additional software.


What is SSH?

SSH (Secure Shell) provides a secure way to connect to your hosting account and run commands directly on the server.


Step 1: Open Terminal

You can open Terminal by:

  • Navigating to:
    Applications → Utilities → Terminal
    
  • Or using Spotlight Search (⌘ + Space → type “Terminal”)

Step 2: Connect to Your Server

Enter the following command:

 
 
 
 
 
 
Shell
 
 
ssh -p 722 username@yourdomain.com
 
 

Replace Values

  • username → your cPanel username
  • yourdomain.com → your domain name or server hostname

Example

 
 
 
 
 
 
Shell
 
 
ssh -p 722 firstserv@server.example.com
 
 

Step 3: Enter Your Password

  • You’ll be prompted for your cPanel password
  • Type your password and press Enter

⚠️ Note:

  • Nothing will appear as you type—this is normal for security reasons

✅ Once entered, you’ll be logged into your server


Using SSH Keys (Recommended)

For improved security, it’s recommended to use SSH key authentication instead of a password:

  • ✅ More secure than password logins
  • ✅ Can restrict access to authorised devices only
  • ✅ Enables easier, password-free login

Further Setup Guides

  • Setting up SSH keys on macOS
  • Setting up SSH keys on Windows

Summary

  • macOS includes a built-in SSH client (Terminal)
  • Connect using:
     
     
    Shell
     
     
    ssh -p 722 username@yourdomain.com
     
     
     
  • Enter your cPanel password to log in
  • SSH keys are recommended for improved security

Need Help?

If you need assistance connecting via SSH or setting up SSH keys, the Firstserv support team is always happy to help.

 

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Enable Redis on a Premium PCI-DSS compliant plan

Using Redis on Firstserv Hosting What is Redis? Redis (Remote Dictionary Server) is an...

Shell access to your server using SSH (PuTTY for Windows)

Accessing Your Server via SSH (Firstserv Guide) All Firstserv...

Enable or disable SSH (Secure Shell) access

Enabling SSH Access (Firstserv Guide) Firstserv provides secure,...

Connect to MySQL using MySQL Workbench

Connecting to MySQL via SSH Tunnel (Firstserv Guide – MySQL...

Block bad spiders to save bandwidth

Blocking Bad Bots & Search Crawlers (Firstserv Guide) Search...