SSH'ing to HA

Hi,

I have been trying to connect to HA via SSH port 22222 for the last month to look at config.txt (Yes it’s taken me that long :joy:)
I’ve installed OpenSSH and I can connect to HA port 22222 (or any other port) using a Password only, as soon as I put in a authorized_key I get connection refused.

I my question is, is my ssh key formatted correctly? (I have tried googling this)

authorized_keys:
  - >-
    SHA256:HVMQ+yUe+dKImoredigitsTpTPg9ho7e5hIn/z98vs
password: pass1234
server:
  tcp_forwarding: false

The OpenSSH doc has a slightly different format

authorized_keys:
  - ssh-rsa AKDJD3839...== my-key

Regards
James

Mine are all of the second form, starting with - ssh-rsa ..... You can also get to some system-level resources, such as docker, by using the community “SSH & Web Terminal” add-on and turning off Protection Mode, but I don’t know if that’ll let you get to config.txt (in /boot on your machine?).

thanks,

How do you generate this type of key?
ssh-rsa AKDJD3839…== my-key

Regards

I have managed to get a correct key and it will allow me to log in, the only issue now is that there is no boot dir within the mnt folder even though I am logged in via port 22222.

Can you suggest why the folder is not showing?

Regards
James