Question
ssh: connect to host ***.**.**.** port 22: Operation timed out
Yesterday I created a droplet. Tried to connect through the console, but gives this message : ssh: connect to host **...* port 22: Operation timed out. I’m from Ukraine. Server took in London.
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.
×
Hi, same thing happened today, solved it by specifying to allow port 22 in ufw config like so
Regards.
Even I had a similar problem for one of my ISP. Since I have 2 Internet connections, I ssh-logged in on the second one and entered the above command by @fmilland
Then, after flushing my DNS cache, it started working on my 1st connection as well.
But I have a question though, does my server become less secure or more prone to hacks by entering “sudo ufw allow 22/tcp”? Thanks.