Locked out of SSH
Get back in through the console, then set a new password or fix what is blocking you.
SSH can stop letting you in for a few reasons: a forgotten password, a key that is no longer on the machine, a firewall rule, or an SSH setting changed on the server. The console gets you in whichever it is, because it does not use the network.
Get in through the console
- Open the server from Servers and choose the Console tab.
- Log in as root with your password.
- If you don't have the password, press Reset password above the console, then log in with the new one.
Then find what blocked you
- A firewall rule. Check the rules on the Network tab, and that one allows port 22 from where you are.
- Your key. Check Keys on this machine in the Connect card, and add the one you use from the Access tab.
- The SSH settings on the server. From the console, check
/etc/ssh/sshd_configand anything in/etc/ssh/sshd_config.d/, thensystemctl restart ssh.
Still stuck? Open a ticket and say which guide you followed.