Hi guys,
I really hope someone can help me. I used to use this add-on for backing up my config to GitHub through a shell command. For some reason that didnāt work anymore, and I ended up uninstalling the add-on.
However, after reinstalling the add-on, it just wont start.
So it installs.
My config is as follows:
allow_agent_forwarding: false
allow_remote_port_forwarding: false
allow_tcp_forwarding: false
authorized_keys: []
compatibility_mode: false
password: GitHubBackUpNeeded10022023!
sftp: false
username: GitPushBackup
And the add-on log shows this:
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service base-addon-banner: starting
-----------------------------------------------------------
Add-on: SSH & Web Terminal
SSH & Web Terminal access to your Home Assistant instance
-----------------------------------------------------------
Add-on version: 13.0.2
You are running the latest version of this add-on.
System: Home Assistant OS 9.5 (amd64 / qemux86-64)
Home Assistant Core: 2023.2.3
Home Assistant Supervisor: 2023.01.1
-----------------------------------------------------------
Please, share the above information when looking for help
or support in, e.g., GitHub, forums or the Discord chat.
-----------------------------------------------------------
s6-rc: info: service base-addon-banner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service base-addon-log-level: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service base-addon-log-level successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service init-user: starting
s6-rc: info: service init-ssh: starting
s6-rc: info: service init-mysql: starting
s6-rc: info: service init-mosquitto: starting
s6-rc: info: service init-docker: starting
[21:47:45] INFO: Docker support has been enabled.
s6-rc: info: service init-docker successfully started
s6-rc: info: service init-mosquitto successfully started
s6-rc: info: service init-mysql successfully started
[21:47:45] NOTICE: Session sharing has been disabled!
s6-rc: info: service init-user successfully started
s6-rc: info: service ttyd: starting
s6-rc: info: service ttyd successfully started
[21:47:45] INFO: Starting the ttyd daemon...
[21:47:46] WARNING:
[21:47:46] WARNING: Logging in with a SSH password is security wise, a bad idea!
[21:47:46] WARNING: Please, consider using a public/private key pair.
[21:47:46] WARNING: What is this? https://kb.iu.edu/d/aews
[21:47:46] WARNING:
[21:47:46] NOTICE: RSA host key missing, generating one...
Generating public/private rsa key pair.
Your identification has been saved in /data/ssh_host_rsa_key
Your public key has been saved in /data/ssh_host_rsa_key.pub
The key fingerprint is:
SHA256:P1Lx6EHDE8oWjnYL+PmT3+8szcpMrKRQbX8BRYBtxBw root@a0d7b954-ssh
The key's randomart image is:
+---[RSA 3072]----+
| . .*E+o |
| . + +..=. |
| . + * *.. |
| o = + * . |
| o S * . . |
| o * + . |
| . = = +o. |
| . * B.oo |
| . o ==+ |
+----[SHA256]-----+
[21:47:48] NOTICE: ED25519 host key missing, generating one...
Generating public/private ed25519 key pair.
Your identification has been saved in /data/ssh_host_ed25519_key
Your public key has been saved in /data/ssh_host_ed25519_key.pub
The key fingerprint is:
SHA256:yKtflvDAIXonEi4QMVU7rKwyCsxiGuPk2ayR3vE60qs root@a0d7b954-ssh
The key's randomart image is:
+--[ED25519 256]--+
|+o... |
| o . . |
|. . = . |
|.o + = o |
|. * o B S |
|oo.o o = . |
|OB.. . = |
|%=*oo. o |
|oE+*=o. |
+----[SHA256]-----+
s6-rc: info: service init-ssh successfully started
s6-rc: info: service sshd: starting
s6-rc: info: service sshd successfully started
s6-rc: info: service legacy-services: starting
s6-rc: info: service legacy-services successfully started
[21:47:53] INFO: Starting the SSH daemon...
Server listening on 0.0.0.0 port 622.
Server listening on :: port 622.
When checking in the supervisor logs it shows this:
23-02-10 21:46:35 INFO (MainThread) [supervisor.addons] Add-on 'a0d7b954_ssh' successfully installed
23-02-10 21:46:43 WARNING (MainThread) [supervisor.api.addons] Changing protected flag for a0d7b954_ssh!
23-02-10 21:46:44 INFO (MainThread) [supervisor.ingress] Update Ingress as panel for a0d7b954_ssh
23-02-10 21:47:22 WARNING (SyncWorker_0) [supervisor.docker.addon] SSH & Web Terminal running with disabled protected mode!
23-02-10 21:47:33 INFO (SyncWorker_0) [supervisor.docker.addon] Starting Docker add-on ghcr.io/hassio-addons/ssh/amd64 with version 13.0.2
23-02-10 21:48:21 INFO (MainThread) [supervisor.host.info] Updating local host information
23-02-10 21:48:22 INFO (MainThread) [supervisor.host.services] Updating service information
23-02-10 21:48:22 INFO (MainThread) [supervisor.host.network] Updating local network information
23-02-10 21:48:22 INFO (MainThread) [supervisor.host.sound] Updating PulseAudio information
23-02-10 21:48:22 INFO (MainThread) [supervisor.host.manager] Host information reload completed
However, when I try to open the terminal in the web interface I get the error saying the add-on is not started:
And when checking the add-on itself it also still shows the āstartā button. Clicking that gives the log entry that says the add-on is already started.
Can anyone please assist? Iām breaking my head on this. I tried the config with an rsa-key but that doesnt change anything.
Never mind meā¦ Apparently something was stuck in my HA install. Rebooting the vm solved my issues.