with HASSiO mqtt configuration has been made really simple and you no longer need to ssh it or direct it to your broker ip, just enable it from your "HASS.io tab from your front end.
yaml file entry is then…
mqtt: broker: core-mosquitto username: username password: password
this could help…