I installed openssh-server. I am able to ssh into the server via my ehternet local network, I can ssh from the local host. I have set up port forwarding on my router. I have run 'sudo ufw allow 22/tcp' to ensure my port 22 is open.
But everytime I try to connect remotely, i.e. ssh my_server_ip, I get the error: connect to host my_server_ip port 22: Operation timed out
I have no idea how to fix this.
When I use a port scanning service online my port 22 is open, and I have told the router to do port forwarding to the server for port 22.