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:
Replace Values
- username → your cPanel username
- yourdomain.com → your domain name or server hostname
Example
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
- 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.
