To allow Home Assistant to talk to the router make sure that port 6022 is open for ssh. This is done under 'administration'...'system'...'service'