Home Assistant Community Add-on: SSH & Web Terminal

:tada: Release v6.4.1

Full Changelog

This is a general maintenance release.

:hammer: Changes

  • :books: Typo (#102)
  • :arrow_up: Updates homeassistant_cli to v0.8.0 (#103)
  • :arrow_up: Updates yamllint to v1.19.0 (#104)
  • :arrow_up: Upgrades add-on base image to v5.0.2
  • :arrow_up: Upgrades nginx to 1.16.1-r1
  • :arrow_up: Upgrades bind-tools to 9.14.7-r0
  • :arrow_up: Upgrades nmap to 7.70-r4
  • :arrow_up: Upgrades bind-tools to 9.14.8-r0

Questions? Join our Discord server! https://discord.me/hassioaddons
Enjoying my add-ons? Consider supporting my work: https://patreon.com/frenck

:tada: Release v6.4.2

Full Changelog

This is a general maintenance release.

:hammer: Changes

  • :arrow_up: Upgrades git to 2.22.2-r0
  • :arrow_up: Upgrades mariadb-client to 10.3.20-r0
  • :arrow_up: Upgrades Hass.io CLI to 3.1.1
  • :books: Adjust add-on installation instructions
  • :arrow_up: Upgrades add-on base image to v5.0.3
  • :books: Add limitation root with rsync (#95)
  • :ambulance: Fix for non interactive usage (#96

Questions? Join our Discord server! https://discord.me/hassioaddons
Enjoying my add-ons? Consider supporting my work: https://patreon.com/frenck

Since this last update, this add-on won’t start.
Error is:

[FATAL tini (6)] exec /init failed: Exec format error

I’m using HassOS 3.7, Hassio 192 and HA 102.3.

Could you please specify the hardware you are using?

Yes, Asus Tinker Board S

Ok, sorry, additional question, what is the output of hassio info ?

You got me here as this add-on won’t start! :laughing:
I’ve installed the SSH Server add-on.
Here is the result:

core-ssh:~# hassio info
arch: armv7
channel: stable
hassos: "3.7"
homeassistant: 0.102.3
hostname: hassio
logging: info
machine: tinker
supervisor: "192"
supported_arch:
 - armv7
 - armhf
timezone: Europe/Paris

Oh lol, yeah sorry, habbits to ask for that. I’ll look into to it, thanks! :+1:

Also had the same error, just installed this morning.

Will post log later as I did the update for RPi4, and now it is not booting… (wife did a plug pull and still nothing, so I’ll check later when I’m home).

We are not alone:

:tada: Release v6.4.3

Full Changelog

This release contains an important fix, that prevented the add-on from starting on a lot of machines (e.g., i386 or armv7 machines).

:hammer: Changes

  • :ambulance: Fix incorrect use of base image, causing arch mixups (#93)
  • :arrow_up: Upgrades sqlite to 3.28.0-r2

Questions? Join our Discord server! https://discord.me/hassioaddons
Enjoying my add-ons? Consider supporting my work: https://patreon.com/frenck

1 Like

Thanks a lot!! :+1:

1 Like

Yesterday did a new install, the update button in Hassio killed my rpi4 install. New image and snapshot restore, after that installed this addon and now works like a charm.

I’ve been using this add on for a long time now and I really like it. However, I’m not really sure how to use zsh so well. How hard is it to make it so that I can copy and paste from my terminal? I guess what I’m asking is how to get it to use the system clipboard. Whenever I have some issue or something where I want to copy the terminal output to somewhere like, um, say here :), I can’t copy to the system clipboard. In that case I always have to launch the regular ssh add on and do it from there. I’ve tried running bash within the zsh shell, but that doesn’t make it work either.

That’s really my only complaint/annoyance with it.

A) that as nothing to do with ZSH, but with tmux.
B) From the web terminal side of things, it is hard to solve at this point, sorry.
C) From the SSH terminal, hold a additional modifier key to enable selection natively on your system. On my mac that is shift+option and select the text.

From the normal SSH terminal, copy to the system clipboard works fine. I can drag highlight the text I’m interested in then I use Ctrl+Shift+C (I’m running linux). But in your SSH terminal running zsh, I can’t even highlight any text. When I drag over it, it highlights but as soon as I let go of the mouse button, it just beeps and the highlight goes away, so I never get a chance to do the Ctrl+Shift+C. That seems to be something to do with zsh.

It is not ZSH, it is tmux.
If you like to disable that for your regular SSH session, turn of session_sharing in the add-on settings.

1 Like

Yup, that fixed it. Turning off the session_sharing allows me to highlight text and then copy it. Wow, I should have asked this question a year ago :smiley:

1 Like

:tada: Release 7.0.0

Full Changelog

Time for a major release! :tada:

This release upgrades a lot of the internals of the add-on, to the latest & greatest. But wait, there is more!

Bash support is here!

It has been requested quite a few times since the add-on existed. So if ZSH isn’t your cup of tea, disable it in the add-on options by setting zsh to false.

As an added bonus, Bash completion support is also installed and configured for use with the hassio and hass-cli commands.

Faster, but Ingress only Web Terminal

The Web Terminal is now only accessible via Ingress, direct access has been removed. This removes a lot of moving parts from the add-on. Combined with the latest version of ttyd (which powers the Web Terminal), it has become lightning fast and responsive.

The Terminal now leverages your browsers WebGL capabilities, making it fly! :rocket:

Hass.io CLI completion with ZSH

The add-on ships with the latest Hass.io CLI, which now supports ZSH’s auto-completion, which you can activate by hitting <tab> twice after you type part of the hassio command.

Other noteworthy changes

  • Session sharing between SSH & the Web Terminal is now turned off by default. A lot of new users run into issues understanding how tmux works, hence, I’ve opted to disable session sharing by default.
  • Uses base images, based on the latest Alpine Linux 3.11.
  • All configuration options regarding the Web Terminal have been removed since with Ingress, they are no longer needed.

:hammer: All Changes

Fetching origin

  • :arrow_up: Updates yamllint to v1.20.0 (#106)
  • :ambulance: Spelling and grammar fixes (#107)
  • :pencil2: Funding adjustments
  • :arrow_up: Upgrades add-on base image to v6.0.1
  • :arrow_up: Upgrades bsd-compat-headers to 0.7.2-r0
  • :arrow_up: Upgrades cmake to 3.15.5-r0
  • :arrow_up: Upgrades docker to 19.03.5-r0
  • :arrow_up: Upgrades openssl to 1.1.1d-r3
  • :arrow_up: Upgrades python3 to 3.8.0-r0
  • :arrow_up: Upgrades zlib-dev to 1.2.11-r3
  • :arrow_up: Upgrades device-mapper-libs to 2.02.186-r0
  • :arrow_up: Upgrades zsh-autosuggestions to 0.6.3-r0
  • :arrow_up: Upgrades nmap to 7.80-r1
  • :arrow_up: Upgrades vim to 8.2.0-r0
  • :arrow_up: Upgrades tmux to 3.0a-r0
  • :arrow_up: Upgrades nano to 4.6-r0
  • :arrow_up: Upgrades sudo to 1.8.29-r0
  • :arrow_up: Upgrades sqlite to 3.30.1-r1
  • :arrow_up: Upgrades rsync to 3.1.3-r2
  • :arrow_up: Upgrades networkmanager to 1.20.8-r0
  • :arrow_up: Upgrades ack to 3.2.0-r0
  • :arrow_up: Upgrades awake to 1.0-r4
  • :arrow_up: Upgrades bind-tools to 9.14.8-r5
  • :arrow_up: Upgrades bluez to 5.52-r0
  • :arrow_up: Upgrades mosquitto-clients to 1.6.8-r0
  • :arrow_up: Upgrades git to 2.24.1-r0
  • :arrow_up: Upgrades libltdl to 2.4.6-r7
  • :arrow_up: Upgrades libxml2-utils to 2.9.10-r1
  • :arrow_up: Upgrades mariadb-client to 10.4.10-r0
  • :arrow_up: Upgrades mosh to 1.3.2-r13
  • :arrow_up: Upgrades ncurses to 6.1_p20191130-r0
  • :arrow_up: Upgrades lua-resty-http to 0.15-r0
  • :arrow_up: Upgrades nginx to 1.16.1-r4
  • :sparkles: Adds htop
  • :arrow_up: Upgrades Hassio CLI to 3.1.2
  • :fire: Removes direct access to Web Terminal (Ingress only)
  • :hammer: Disable shared sessions by default
  • :hammer: Update Hass.io wheels for Alpine 3.11
  • :arrow_up: Upgrades libwebsockets to 3.2.1, added libuv support
  • :arrow_up: Upgrades ttyd to aed3faa3, WebGL & LibUV support
  • :sparkles: Adds support for using Bash instead of ZSH
  • :fire: Remove unused leave_front_door_open config
  • :shirt: Prettier JSON config file
  • :sparkles: Adds support for Bash completion
  • :ambulance: Work around a bug in latest sudo
  • :ambulance: Fix issue with tmux config with latest tmux
  • :sparkles: Adds Hass.io CLI auto complete support on ZSH
  • :fire: Remove add-on config for web ui link
  • :books: Update add-on documentation to match latest changes

Questions? Join our Discord server! https://discord.me/hassioaddons
Enjoying my add-ons? Consider supporting my work: https://patreon.com/frenck

Hey @frenck, Thanks for the great work!
I get this error: /data/.bash_profile: No such file or directory
Maybe i did something wrong, i use i with the password option.

1 Like