Hassos docker command not found

Hi,

Im trying to follow this guide:

https://megamorphf.github.io/homeassistant/hyperion/ssh/hassio/2018/01/22/controlling-anything-via-ssh.html

To allow keyless SSH logons to other computers.

I got the SSH keyless connection going and are logged in as root through SSH onto the machine.

However when i try the “docker” command it just says “command not found”

I read in a forum that you have to issue the “Login” command before you can actually do the commands. But when i do that i get prompted with username and password. And none of my existing works here.

I’m running HassOS 1.11
Version 140
Home Assistant
0.80.0

Any hints on how to proceed?

Best regards

//Johan

Finally solved it! I can provide the solution if someone is interested just leave a reply :slight_smile:

//Johan

So what is the solution?

3 Likes

You need to be logged in as user hassio. You can only achieve that by following this guide:

https://developers.home-assistant.io/docs/en/hassio_debugging.html

TLDR: Configure a USB with a public authroized key. Insert it into your hassio RPI, boot up.

Then SSH to IP:22222 with the private key from putty.

You are now logged in as hassio user. From here type “login” after that, you can issue the docker command.

//Johan

3 Likes

Updated debugging URL for anyone still referencing this thread:
https://developers.home-assistant.io/docs/operating-system/debugging

2 Likes

thanks!this is very helpful.