I’ve answered my own question:
- the debug mode ssh connection by following instructions here: Debugging the Home Assistant Operating System | Home Assistant Developer Docs
- ssh root@hassio -p 22222
- At the hassio > prompt run “login”
- Run
docker exec -it $(docker ps -f name=homeassistant -q) bash - Run
cat /etc/mosquitto.confand copy the output.
Thanks to this thread: Protip: How to get shell in actual homeassistant (or addon) container when using Hassio