Can't log in after ssh to the the host

Hi all,

So I managed to login into the host system once, but I had to change my SSH keys and now I can’t log in.

I can successfully establish an SSH connection to port 22222 and access the CLI environment, however when I type login the connection is closed.

System Information:

  • Raspberry PI 4 + 64GB HD
  • External HD mounted to /media/HD
  • Core: core-2021.6.6
  • Supervisor: supervisor-2021.06.3
  • Host: Home Assistant OS 6.1

I have the same issue. It used to work. I was trying to log in to diagnose why Supervisor seems to be unable to update to the latest ESPHome.

$ ssh ha
Welcome to Home Assistant OS.

Use `ha` to access the Home Assistant CLI.
# login
Shared connection to homeassistant.[my internal domain name] closed.

I haven’t changed any of my ssh keys. Ssh is configured to login to ha as root, port 22222, on the correct hostname, using my default key.

I opened an bug for it (Can't SSH into the Host System · Issue #1433 · home-assistant/operating-system · GitHub) and was informed that you are already logged in the host system, no need to login again. I just cd / and was at the root folder.

I will aks to update the Debugging documentation page to reflect this behaviour.

1 Like

You are right! Thanks for the info.

Documentation page update to reflect this new behavior.