HassOS SSH Server - User root not allowed because account is locked

Using the Core SSH addon (addons/ssh/README.md at master · home-assistant/addons · GitHub) with my public key set as the authorized key. Every time I try and connect however with username root I get an error of:

No supported authentication methods available (server sent: publickey,keyboard-interactive)

From the ssh log:

User root not allowed because account is locked

I’m seeing the same thing right after upgrading the addon to version 5.2.

Seeing same thing on 5.2… not alone I guess
Couldn’t get the snapshot restore / rollback to help. Any ideas?

possibly related from logs

19-03-11 00:34:46 INFO (SyncWorker_1) [hassio.docker.interface] Update Docker homeassistant/armv7-addon-ssh:5.2 to homeassistant/armv7-addon-ssh:5.1 19-03-11 00:34:46 INFO (SyncWorker_1) [hassio.docker.interface] Pull image homeassistant/armv7-addon-ssh tag 5.1.
19-03-11 00:34:47 ERROR (SyncWorker_1) [hassio.docker.interface] Can’t install homeassistant/armv7-addon-ssh:5.1 -> 404 Client Error: Not Found (“manifest for homeassistant/armv7-addon-ssh:5.1 not found”).

and from a change yesterday
https://github.com/home-assistant/hassio-addons/pull/538

Same problem here. I just upgrated to 5.2

Have you guys tried the community ssh addon? It’s working for me on latest version.

Community SSH plugin appears to work fine. Thanks! Good workaround

1 Like

I rolled back to version 5.0 since I had a snapshot of it. That did the trick for me. Guess I won’t be updating for a while.

I had this same issue right after the upgrade to .89 a few days ago. The key was working great and then just stopped allowing me to access. I had to go back to password just to gain access to files. I tried to delete it all and retry no dice there either.

Just submitted an issue: https://github.com/home-assistant/home-assistant/issues/21975

I couldn’t find a github page to specifically address the addon, so I just put it under hass.io.

1 Like

5.3 addresses this issue

1 Like