The Home Assistant Auth system has nothing to do with your Ubuntu host ssh login - they are 2 completely seperate things. You could have set them up so you use the same login and password but unless you deliberately did that they will be different.
On my hassbian/ubuntu, I deleted all the files in the .storage folder under hass config folder to reset user/password last time I have trouble with authorization.