I am running ubuntu server 20.04 and out of the blue I am getting operation timeout. I was wondering how can I troubleshoot the issue.
I am using ufw and the connection port is open. so when I use sudo ufw status
, it shows me that the port is accessible.
When I run systemctl status sshd
I get that the process is active and that sshd is listening to 0.0.0.0 port xx and :: port xx
I can log on to the machine using my user, so the credentials are not an issue here. I am also able to ping the server from another machine and the ping is working well.
Edit: I am able to connect to the server on the intranet, but not from outside. Is there a way for ssh to be blocked from the internet and not from the intranet?