I can use the add-on using a username and password, but when trying to use the authorized_keys, I always get a ‘Server refused our key’.
The debug log shows the following message at the end:
userauth_pubkey: key type ssh-rsa not in PubkeyAcceptedAlgorithms [preauth] Received disconnect from 192.168.0.111 port 53473:14: No supported authentication methods available [preauth] Disconnected from authenticating user hassio 192.168.0.111 port 53473 [preauth]
The rsa key I am using seems to be ok, as it is working well to access the system as (real) root using ssh into port 22222.
I have tried several ways/formats to enter the key into the configuration file and restarts of the add-on, and I even tried to manually put the key in the .ssh folder when logged in with username and password, but I keep getting the same error.
I can get where I want using the port 22222 login (and perform a docker exec into the ssh add-on) but I would like to get this sorted out.