Terminal Connection
This tutorial covers how to connect to your GoMami VPS via SSH using the built-in terminal on macOS and Linux.
Prerequisites
- A deployed VPS instance
- Server IP address and root password (available in the control panel)
- macOS or Linux system
Connection Steps
1. Open Terminal
- macOS — Open Terminal.app (Applications > Utilities)
- Linux — Open the system terminal (usually
Ctrl + Alt + T)
2. Run SSH Command
ssh root@your_server_ip
Replace your_server_ip with your server's actual IP address.
3. First-Time Connection
On first connection, the terminal will ask you to verify the server fingerprint:
The authenticity of host 'your_server_ip' can't be established.
ED25519 key fingerprint is SHA256:xxxxxxxxxxxxxxxxxxxx.
Are you sure you want to continue connecting (yes/no/[fingerprint])?
Type yes and press Enter.
4. Enter Password
root@your_server_ip's password:
Enter your root password (characters won't be displayed — this is normal) and press Enter.
5. Connected
You'll see something like:
Welcome to Ubuntu 24.04 LTS
root@hostname:~#
Using SSH Keys
If you've configured SSH keys, you can log in without a password:
# Using default key
ssh root@your_server_ip
# Specifying key file
ssh -i ~/.ssh/id_ed25519 root@your_server_ip
SSH Config File
For convenience, add a config entry in ~/.ssh/config:
Host my-vps
HostName your_server_ip
User root
IdentityFile ~/.ssh/id_ed25519
Then simply run:
ssh my-vps
Common SSH Options
| Option | Description |
|---|---|
-p port | Specify non-default port |
-i keyfile | Specify private key file |
-v | Show debug info |
-o ConnectTimeout=10 | Set connection timeout |
Troubleshooting
If you can't connect, check:
- Is the server running? — Verify status in the control panel
- Is the IP correct? — Double-check the IP
- Is the network reachable? — Run
ping your_server_ip - Is the SSH port open? — Default is port 22
- Firewall rules — Ensure SSH port isn't blocked
tip
If SSH fails but ping works, use the VNC console to check SSH service status.
Next Steps
- Manage SSH Keys — Set up key-based login
- Security Hardening — Harden SSH security