Unblock incoming SSH connections to an Ubuntu server
/ 1 min read
Not that common with key-based authentications being the norm but it does happen from time to time when working with test servers.
Check if your IP is banned
1. Access the root terminal
- If you’re using GCE, you can use Cloud Shell
- For other providers, there’s usually a way to access the root terminal through the dashboard
2. Print the firewall rules
You should see something like this:
188.8.131.52 is the banned IP
Unban the IP
You should now be able to connect using your local terminal again.