hello everyone, I have an error with port 22/tcp, my private server is in Digitalocean (Debian10), from the terminal “Putty” I have opened port 22, when reboot it generates an error when entering “time out”.
How can I correct this error?
thanks and regards Camilo A. Pimentel G.
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!
Are you using a firewall? Are you letting port 22 through the firewall? Do you have a server running on that port? Need a little more information to help out. What have tried so far to try and trouble shoot the issue?
OK, my guess is that you have not allowed ssh. So the only solution is to use the console from do, and login via username/password. If you don’t have a root password for the droplet, then use the reset password feature, (which will reboot the server). then login to the console NOT using ssh. Then edit your firewall. BTW, I have opted to use the DO firewall rather than the ufw on the box. I know some people use both. Using the do firewall prevents you from doing what you just did and locking your self out. Hope this helps.
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.