I’m having a problem with the connection after I closed port 22 by mistake. now I can’t connect to the host and this is the error that occurred when I try to connect " ssh: connect to host 167.172.178.213 port 22: Connection timed out " to solve it I’ve tried o use the Recovery Console but for some reason, I can’t open the terminal how do I solve this problem? thanks in advance
PS: I’ve tried to use the recovery console but it has a problem and because of it I can’t access the terminal inside it
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
The only way is to use the Recover Console. There are two ways to go about it though. You’ve found the docs but just in case here they are :
https://docs.digitalocean.com/products/droplets/resources/recovery-console/
Alternatively, you can use the Droplet Console. Use the Droplet Console for native-like terminal access to your Droplet from your browser. Here is the list of supported OSes for the new console.
To enable the Droplet Console, log in to your Droplet as root or as a user with sudo access. Once connected, download and execute the agent installation script with the following command to enable the console immediately:
wget -qO- https://repos-droplet.digitalocean.com/install.sh | sudo bash
Those two are the only options I see.
This comment has been deleted
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.