I have my Ubuntu running in my home network. It has no any port forwards from router that shares Internet. I would like to access my Ubuntu to check log files and execute some commands. It would be nice to have SHH. How to achieve that without direct connection? Can I somehow ask Ubuntu to wait for incoming SSH connection somewhere on cloud?
41 Answer
You could search for a VPN solution. Wireguard is a popular choice to run; one client runs at home, and one on your laptop (presumably).
There are other products like it, more commercial (tailscale).
A second way would be to add a more legacy solution: run a vpn server on your home router; some vendors of DSL routers do that without effort.
And a third option is to move your logs to somewhere less private than your home: Upload it to the cloud, so you don't need to be at home to see the logs :)