What is SSH?
SSH (Secure Shell) is a protocol for securely connecting to remote servers. It encrypts all communication, making it the standard way to manage Linux servers.
From macOS or Linux
Open Terminal and run:
ssh root@YOUR_SERVER_IPIf using a custom SSH key:
ssh -i ~/.ssh/id_ed25519 root@YOUR_SERVER_IPFrom Windows
Windows 10+ includes OpenSSH. Open PowerShell or Command Prompt:
ssh root@YOUR_SERVER_IPAlternatively, use PuTTY — a free SSH client with a graphical interface.
SSH Key Authentication
Key-based auth is more secure than passwords. Generate a key pair:
# Generate key (on your local machine)
ssh-keygen -t ed25519
# Copy to server
ssh-copy-id root@YOUR_SERVER_IPSSH Config File
Simplify connections by adding entries to ~/.ssh/config:
Host mybreeze
HostName YOUR_SERVER_IP
User root
IdentityFile ~/.ssh/id_ed25519Then simply run ssh mybreeze to connect.
Troubleshooting
- Connection refused — ensure SSH is running on the server and port 22 is open
- Permission denied — check your key permissions (
chmod 600 ~/.ssh/id_ed25519) - Timeout — verify the IP address and check for firewall rules