So the idea is to have a home router listen on port 443 for HTTPS and SSH connection simultanously, route HTTPS traffic to a local homeassistant instance and SSH traffic to a local SSH server:

So the idea is to have a home router listen on port 443 for HTTPS and SSH connection simultanously, route HTTPS traffic to a local homeassistant instance and SSH traffic to a local SSH server: