As previously mentioned, the terminal app is its own container. You can remove protection mode and get access to most things, but itās not everything.
The host OS doesnāt have a /config folder. Thatās handled by Supervisor when it creates the container. If you type docker container ls you can see all the containers including the one you are in. The only thing you donāt see is the host.
The system works on docker. You can find out more online about how it works like a bunch of virtual machines and how itās different from virtual machines. Theyāre called containers because itās the most appropriate term.
The only thing thatās not in a container is the host system. When you enter the host system you see a ha> prompt and you can get to the shell with the command login
I started seeing the followinge errors warnings in my logs and have tried both upgrading the add-on and also uninstalling it, but canāt get rid of them. Any ideas?
21-03-08 23:46:46 WARNING (MainThread) [supervisor.addons.validate] Add-on have full device access, and selective device access in the configuration. Please report this to the maintainer of Run On Startup.d
21-03-08 23:46:46 WARNING (MainThread) [supervisor.addons.validate] Add-on have full device access, and selective device access in the configuration. Please report this to the maintainer of HassOS SSH port 22222 Configurator
21-03-08 23:46:46 WARNING (MainThread) [supervisor.addons.validate] Add-on have full device access, and selective device access in the configuration. Please report this to the maintainer of Run On Startup.d
21-03-08 23:46:46 WARNING (MainThread) [supervisor.addons.validate] Add-on have full device access, and selective device access in the configuration. Please report this to the maintainer of HassOS SSH port 22222 Configurator
Iāll probably fix Run On Startup.d. If HassOS SSH port 22222 is working, I recommend removing it. These are low priority. Home Assistant has gone on a kick with random warnings lately causing all maintainers to perform some meaningless task for the sake of no good reason, just to clear some log warnings. Itās not critical. It doesnāt affect operation. It just looks ugly in the logs for no good reason.
So I ran this add-on, put in my key and rebooted. It seems to have worked because I was able to ssh into port 22222. But when I do it looks like my shell is the HA CLI? Which means Iām pretty limited. Kind of pointless actually since the ssh addons already have full access to the HA CLI.
Did I miss a step? Or is there a way to get to bash or zsh or something more useful?
How would I completely reverse the actions of this addon if I chose? That is, remove the key from the ssh file and close port 22222 as though I never ran the HassOs SSH port 22222 Configurator?
Hi, Iām also spend some time to login on SSH over 22222 for accessing the host system.
When using the USB with the authorized_key, the error:
No supported authentication methods avaialble (server sent:public key)
So after that I have installed this addon, but unfortunately I ended up with the same issue. So probably something is wrong with my ssh public key, isnāt ? I have generated this in Putty on my windows box. Any ideas are apreciated .
1.ssh-keygen (press enter when asked, use defaults, only enter responses)
2.cat ~/.ssh/id_rsa.pub to get your key. Itās all one line and looks like this when copied properly.
3.copy the key from step 2 into HassOS SSH port 22222 Configurator
4.restart the configurator
4.Use Reboot Host method to restart.
5.Upon restart, within the terminal app, type ssh 127.0.0.1 -p22222
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] done.
[services.d] starting services
[services.d] done.
no sda1 config found
no sdb1 config found
creating authorized keys in mmcblk0p1 !
This Configurator did it's job. Perform a hard-power-off now. This configurator only works once and is no longer needed.
Hi Adam,
I installed your configurator and followed all steps but still canāt access port 22222 (Connection refused).
Could you please help me. Actually I just want to change the config.txt to make my Raspbee running and I understand that I only can access these file via port 22222.
Access to port 22 is working, so my private and public keys are ok.
I see the following log in your configurator:
Ok, now I tried it with a key-pair which I created via Putty-Gen. Now it works with Putty, but not with Windows CMD anymore. Error is "Permission denied (publickey,keyboard-interactive). "
But anyhow canāt access port 22222