HOWTO: How to access the Home Assistant OS host itself over ssh

Ah got, that is a different add-on…
I have the ‘Terminal & SSH’, which is called ‘Home Assistant Add-on SSH server’ as well;

I already read somewhere, that you should not use the ‘official add-on’ for this.

But in the mean time I manged to get a working putty ssh client connection over 22222 with a public an private key.
With some help from another post I manged to mount the disk and edit the config.txt with vi to disable the wifi adapter of the raspberry pi.

And to get the keys, I did this (because I have proxmox and can get a shell in the OS) and I’m running the advanced SSH plugin.

# jq -r '.ssh.authorized_keys[]' /mnt/data/supervisor/addons/data/a0d7b954_ssh/options.jso
n  >> /root/.ssh/authorized_keys

And start dropbear as above and verify it’s running:

# ps aux | grep dropbear
root       53319  0.0  0.0   3408  1736 ?        Ss   13:22   0:00 /usr/sbin/dropbear -R -E -p 22222 -s
root       55203  0.0  0.0   4100  2240 pts/0    S+   13:48   0:00 grep dropbear

I always forget, so posting it here…