Skip to main content
If you cannot connect to your VPS via SSH, the cause is typically a wrong password, SSH service not running, a firewall blocking port 22, or a network configuration issue. The VNC console is your primary recovery tool in all cases.

Diagnose the Problem

Run SSH with verbose output to see where the connection fails:

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

Fix any errors reported in /etc/ssh/sshd_config, then start the service again.

Firewall Blocking SSH

SSH Key Lockout

If you disabled password authentication and your key no longer works:
1

Log In via VNC

Open the VNC Console and log in with your root password.
2

Re-enable Password Authentication Temporarily

Set PasswordAuthentication yes, then restart SSH:
3

Fix Your SSH Key

Connect via SSH using your password, resolve your key configuration, then re-disable password authentication once key access is confirmed.

Network Configuration Broken

If the server has no network connectivity:
If the configuration is beyond repair, restore from a backup.

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