That’s why I’m here: I seem to have suddenly lost network based ssh access, because ‘connection refused’. Now I just read this and learned the official ssh add-on is now “Terminal & SSH”, not to be confused with the community add-on “SSH & Web Terminal”.
Unfortunately, the ambiguity of these terms makes searching for the correct answer challenging.
How to fix your official “Terminal & SSH” add-on 8.4 and later
For @Geoff571 and anyone else who finds this thread and is looking for help with the official “Terminal & SSH” add-on, it looks like there is a new “Network” dialog box that needs to be updated and is not mentioned in the docs. By default it says 22/tcp, with “disabled” in the input field (greyed out). The Column header is “Host”. This is a bit ambiguous, since I thought it wanted to know what host interface to listen on (127.0.0.1 vs 0.0.0.0).
To (re)enable ssh access via the network, you need to enter the port number ‘22’ or what ever port you want to use. This will map that port from the hassio host into the running “Terminal & SSH” container. I believe a restart of the add-on is then needed so the container can get restarted with the docker -p equivalent.
Community Add-on Doc Suggestion
The About docs should be clearer to diffierentiate the two add-ons now that both add-ons have a web terminal.
These features should be highlighted more prominently as the reason to use the community add-on in my opinion:
- Contains a sensible set of tools right out of the box: curl, Wget, RSync, GIT,
Nmap, Mosquitto client, MariaDB/MySQL client, Awake (“wake on LAN”), Nano,
Vim, tmux, and a bunch commonly used networking tools.
(I think both add-ons are using tmux now)
- Runs on host level network, allowing you to open ports or run little daemons.
- Runs with more privileges, allowing you to debug and test more situations.
- Hardware access to your audio, uart/serial devices and GPIO pins.
- Has access to the DBus of the host system.
- Has the option to access the Docker instance running on the host system.
- Have custom Alpine packages installed on start. This allows you to install
your favorite tools, which will be available every single time you log in. - Execute custom commands on add-on start so that you can customize the
shell to your liking.
Thanks