I have a ubuntu 12.04 server that I could connect to fine using ssh over the internet. I installed the xubuntu desktop on it, didn't change any settings, then suddenly ssh stopped working.
I can connect locally using "ssh localhost"
I can't connect if I type "ssh (public ip address)"
I can connect using a different computer on the same local network like "ssh 192.168.2.5"
I double checked to make sure the ports are forwarded correctly, when I use a online port checking tool I can confirm that port 22 is open.
I confirmed that the firewall is off using "sudo ufw disable"
Any other ideas what it might be? Should I just reinstall ubuntu server or is there a obvious thing I'm missing? Any help appreciated or just send me in the right direction, I don't mind reading to figure it out but I don't know where to start, thanks!!!