Report this

What is the reason for this report?

Port 22 error! (Timeout error)

Posted on February 11, 2021

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!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

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.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.