Password not recognised when using SSH

Home Assistant tells me permission denied when logging in via SSH.

Checking login: I have confirmed my username in Configuration > People > Users, checked I am the owner, changed my password to make sure I remembered correctly, and created a brand new user with admin permissions to double check.

Checking IP address: I have used ifconfig on my pi (where home assistant is installed) and I see an entry called hassio with inet: xxx.30.32.1.

Trying to login: I type ssh [email protected], ssh recognises the hostname as it gives me a login prompt, but then permission is denied.

Further information: I am trying to SSH from my pi to Home Assistant which is installed on my pi. I want to copy some files there, but as far as I understand I can’t directly access the home assistant files from my pi because it is in some kind of “docker” or “virtual environment” (I don’t know the terminology and I don’t really understand). I have also tried from a different laptop. Everything is on the same wifi network.

What is going on? Thank you for any help.

If you want to enter the home assistant docker container, try

docker exec -it homeassistant /bin/bash