Diagnose the Problem
Run SSH with verbose output to see where the connection fails:| Error | Likely Cause |
|---|---|
Connection refused | SSH is not running or firewall is blocking port 22 |
Connection timed out | Firewall dropping packets or server is down |
Permission denied | Wrong password or SSH key mismatch |
No route to host | Network issue or server is down |
Recovering via VNC
Open the VNC Console from your service page and log in with your root credentials.Wrong Password
Reset your root password from the Client Portal, then try SSH again. Alternatively, log in via VNC and run:SSH Service Not Running
/etc/ssh/sshd_config, then start the service again.
Firewall Blocking SSH
- iptables
- firewalld (RHEL-based)
- ufw (Ubuntu)
SSH Key Lockout
If you disabled password authentication and your key no longer works:Log In via VNC
Open the VNC Console and log in with your root password.
Network Configuration Broken
If the server has no network connectivity:Prevention
- Always test SSH after making firewall or SSH configuration changes — do this before closing your existing session
- Keep password authentication enabled as a fallback until key-based login is confirmed working
- Maintain a recent backup before making network or SSH configuration changes