I have a nice little Linux Ubuntu box I setup here in my apartment with a KVM switch but most of the time, I use command lines to SSH into my linux box.
When I am away from from home and I want to access my linux box, I can access it (SSH into it) using DDNS (dynamic DNS). This is great since I have my own backup server plus I can test out my web servers on my linux box before going live.
Anyways, if you are looking for easy solution on how to setup DDNS on your Ubuntu machine, ddclient is probably the easiest. You can check out detailed instructions from MexPolk, who has a great step-by-step tutorial on how to accomplish this.
And also, you need to either set your linux box to “DMZ” mode if you have a router at home. Or better, just set your port forwarding so port 22 doesn’t get blocked. (port 22 for SSH)