If you can't connect to your VPS via SSH, work through these steps in order. Each step narrows down the cause.
Log in to the VirtFusion panel and check your server's status. It should show "Running". If it's stopped, start it. If it's stuck, try a force stop and then start.
ping your-vps-ip
If you get no response, the issue is likely network or firewall related. If you get replies, the server is reachable and the problem is SSH-specific.
Use the VNC console to log in directly, then check:
# Ubuntu/Debian
systemctl status ssh
# AlmaLinux/Rocky/CentOS
systemctl status sshd
If SSH isn't running, start it:
# Ubuntu/Debian
systemctl start ssh
# AlmaLinux/Rocky/CentOS
systemctl start sshd
Check your firewall rules (use whichever applies to your OS):
# UFW (Ubuntu)
ufw status
# iptables
iptables -L -n | grep 22
# firewalld (AlmaLinux/Rocky)
firewall-cmd --list-all
If port 22 is blocked, allow it:
# UFW
ufw allow 22/tcp
# firewalld
firewall-cmd --permanent --add-service=ssh
firewall-cmd --reload
Via VNC, inspect the SSH config:
grep -i "port\|permitrootlogin\|passwordauthentication" /etc/ssh/sshd_config
Common issues:
ssh -p PORT root@your-ipyes or use a non-root user.yes.After changing config, restart SSH:
systemctl restart sshd
df -h
If / is at 100%, SSH may fail to start or accept connections. Free up space:
# Clear old logs
journalctl --vacuum-size=50M
# Find large files
du -sh /* | sort -rh | head -10
~/.ssh/id_rsa.pub is in the server's ~/.ssh/authorized_keys.
If nothing works and you don't have important data on the VPS, you can reinstall the operating system from the VirtFusion panel. This will wipe all data and give you a clean start.