So I have Home Assistant running on an RPi-4. I have the instance running locally but I also have the cloud service through Nabo Casa. I have a sub-domain through my domain from google domain that I can access the home assistant UI through the browser remotely with the credentials.
I wanted to know if I can setup the Home Assistant in a way where I can SSH into the instance and access the files remotely. I have samba share add-on added but I can only access it if I am on the same network. I tried to SSH into the instance using ssh username@sub-domain -p 22222 but it did not resolve and timed out.