My desktop is a Linux (Ubuntu) machine with ssh server configured. It used to work fine before I moved the desktop to a new network. Now I can ssh into the machine from itself (either by ssh localhost or ssh ).
However, I cannot ssh from another machine. It gets stuck at "Connecting to **** port ****" and then times out. I have tried to look for firewalls, but there are none. I have allowed ssh and the port in my ufw. Also, if I check "service iptables status" I get "not-found".
My /etc/hosts.allow and /etc/hosts/deny are also fully commented out (i.e. no active filters). I can also ping to my desktop from my Macbook.
This seems to be a question discussed at multiple places online, but, even after spending several hours, I cannot find a solution. Can somebody please help me sort this out?