Have you set the setting to advanced mode?
Thanks for the pointer!
Does anyone know if itâs possible to emulate the CTRL key on a smartphone when using this add-on ? Typically to stop a command with CTRL-C ?
Find a client that supports CTRL? Pretty sure Terminus and also iTerminal for iOS do that.
Perhaps my question lacked clarity. I would like to use the embedded web terminal to avoid the authentication process with another client. I already use Termux for other tasks and it supports the CTRL key.
Hello, after certain time I try to connect over ssh to hassio but when I try to connect fowling ist Printen in the log file off the add-on: Connection closed by authenticating user root ⊠[preauth]
om my client: Permission denied (publickey,keyboard-interactive)
key is set configured has worked before 3 months
any ideas ?
EDIT: I reinstalled the add-on and now it works
I am new to Home Assistant and have played with it for a couple of days and have had this Add-on installed and working.
My HA is local only (behind firewalls etc) so would like to have just a password.
Now I have a fresh RPi running latest HA version
If I add the configuration
authorized_keys: []
password: 'my-password'
and save, it removed the single quotes and looks like
authorized_keys: []
password: my-password
When starting I get:
[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] cli: applying...
[fix-attrs.d] cli: exited 0.
[fix-attrs.d] profile: applying...
[fix-attrs.d] profile: exited 0.
[fix-attrs.d] ssh: applying...
[fix-attrs.d] ssh: exited 0.
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] keygen.sh: executing...
[16:31:26] INFO: Restoring host keys...
cp: can't stat '/data/host_keys/*': No such file or directory
[cont-init.d] keygen.sh: exited 1.
[cont-finish.d] executing container finish scripts...
[cont-finish.d] done.
[s6-finish] waiting for services.
[s6-finish] sending all processes the TERM signal.
[s6-finish] sending all processes the KILL signal and exiting.
Any idea of what is wrong?
I had ssh server set up in the past and had it working using private key
however, suddenly it stopped working
when i look in the log off the addon now, it says
[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] cli: applyingâŠ
[fix-attrs.d] cli: exited 0.
[fix-attrs.d] profile: applyingâŠ
[fix-attrs.d] profile: exited 0.
[fix-attrs.d] ssh: applyingâŠ
[fix-attrs.d] ssh: exited 0.
[fix-attrs.d] done.
[cont-init.d] executing container initialization scriptsâŠ
[cont-init.d] keygen.sh: executingâŠ
[18:07:08] INFO: Restoring host keysâŠ
[cont-init.d] keygen.sh: exited 0.
[cont-init.d] profile.sh: executingâŠ
[cont-init.d] profile.sh: exited 0.
[cont-init.d] ssh.sh: executingâŠ
[18:07:08] INFO: Setup authorized_keys
[cont-init.d] ssh.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[18:07:08] INFO: Starting Web TerminalâŠ
[2020/05/26 18:07:08:3876] N: ttyd 1.6.0-c15cfb7 (libwebsockets 3.2.2)
[2020/05/26 18:07:08:3878] N: tty configuration:
[2020/05/26 18:07:08:3880] N: start command: tmux -u new -A -s homeassistant bash -l
[2020/05/26 18:07:08:3881] N: close signal: SIGHUP (1)
[2020/05/26 18:07:08:3883] N: terminal type: xterm-256color
[2020/05/26 18:07:08:4222] N: Using foreign event loopâŠ
[2020/05/26 18:07:08:4226] N: Listening on port: 8099
[18:07:09] WARNING: SSH port is disabled. Prevent start of SSH server.
Whats wrongâŠÂ”
Shouldnt it listen on port 22
got it up and running again, had a conflict on the port 22
this link doesnât work anymore. do you know the new process to do this (ssh into supervisor). thanks.
What link?
Hi David, thanks for that quick response. I have been on homeassistant core (docker) and now trying to migrate to hassio (proxmox vm on NUC). I have to run couple of containers manually with local persistent folders. For that I need ssh access to the host OS of the vm (supervisor?). You provided a link above to get this access thru -p 22222. but that link doesnât work any more. let me know if you need any further info. Thanks.
this link
https://developers.home-assistant.io/docs/en/hassio_debugging.html#hassos-based-hassio
so the host OS is proxmox?
What is the VM? Is it HassOS?
If itâs HassOS, in the Proxmox console you can login to HassOS just like you would if it was HassOS on a Pi⊠I think you just type login enter and the password is root.
If youâre talking about the Proxmox host, itâs just normal ssh on port 22.
I have a Proxmox test system and am pretty familiar with it if I can helpâŠ
this works but giving only read-only access. canât mkdir, etc. any idea how to get write access?
what specifically works?
sorry.
ssh into hassos (by typing first ârootâ and then âloginâ) works. but gives only read-only access.
ssh into proxmox itself works fine.
ok.
so why not just use the ssh addon? Is there something specific you want to do in HassOS? You setup a HassOS VM? I assume itâs not an LXC container style setup?
If I understand it correctly, ssh (tried both hassio and community) addon gives access to homeassistant container file system, not hassOS file system.
Yes, I set it up as VM (whiskerz script)
that is correct but you still have not said exactly what you are trying to do but canâtâŠ
see you can ssh into the Proxmox system itself and by default it makes you the root user so you have full control. With the ssh addon, you get as much control as anyone using HassOS in any permutation.
What is it you actually want to do?
ok, I installed proxmox on my NUC. the ip is say 10.10.10.1. I am able to ssh into this ip without any issues. got write access and all.
Now I created a hassio VM using this script. say the ip for this vm is 10.10.10.2.
with in proxmox ui I could log into this vm (10.10.10.2) by typing ârootâ first and then âloginâ. but I get read-only access. I am unable to do anything like creating directories using mkdir, etc. hope I made the issue clear.