I’m wondering how to get into the host, as the documentation is slightly lacking here.
In hass.io, you were able to mount the sd and read at least one partition. With HassOS, this is no longer the case.
The supported method of inserting a USB stick with the authorized_keys file in the root does not seem to work either (source: https://github.com/home-assistant/hassos/blob/rel-1/Documentation/configuration.md#automatic )
What are the steps that need to be performed to get into the host?
To recap, i created a public/private key pair on mac. copied the public key to a file called authorized_keys and put it in the root of a NTFS formatted stick (which is should accept) according to the documentation and than gave it a reboot. What am I missing. What Nickrout suggests is an addon only meant to get into the hassos container, correct?
I’m aware of port 22222.
However, that USB doesn’t seem to have worked for me, hence the topic.
I recapped above what i did, but it didn’t work for me.
ssh [email protected] -p 22222
ssh: connect to host 10.19.23.10 port 22222: Connection refused
Hence, my public key works and is accepted in that add-on. Now I just need to get it to work on the host. Is there another way of transferring it or checking whether SSH is active on the system?
Yes it is. And im using the same pub key on more machines as well. That’s why I’m wondering whether there is something going wrong with the import process. I guess ill try a differently format SD card later today or tomorrow.
I’m having the same problem here too: my public certificate is in a text file /authorized_keys, and I’m trying to ssh into the server on port 22222 with my private key and getting ‘connection refused’.
Did any of you solve this?
I am trying to update the firmware of my raspbee and need to get into the host via port 22222.
I have made the authorized_keys file containing my public key and placed it on the root of the boot drive on my sd-card.
I use putty with my private key, ip of my pi3 and port 22222 and i get connection refused.
The ssh to the ssh plugin on port 22 works fine.
Why do I get connection refused when trying to connect via port 22222?
Wait… What???
The ‘firmware is included in the Operating System… there is no firmware update you flash to a chip… it’s just software that is installed in the O/S and that’s hass.os. You will not be successful in doing this.
I have followed both of these links when setting up my ssh to host at port 22222 but I still get the connection refused error when using putty.
I do not understant what I’m doing wrong. Is it something I need to enable or disable to get it working?