# Home Assistant Community App: Advanced SSH & Web Terminal [![GitHub Release][releases-shield]][releases] ![Project Stage][project-stage-shield] [![License][license-shield]](LICENSE.md) [![Github Actions][github-actions-shield]][github-actions] ![Project Maintenance][maintenance-shield] [![GitHub Activity][commits-shield]][commits] [![Sponsor Frenck via GitHub Sponsors][github-sponsors-shield]][github-sponsors] [![Support Frenck on Patreon][patreon-shield]][patreon] This app allows you to log in to your Home Assistant instance using SSH or by using the Web Terminal. ![Web Terminal in the Home Assistant Frontend](images/screenshot.png) ## About This app allows you to log in to your Home Assistant instance using SSH or a Web Terminal, giving you access to your folders and also includes a command-line tool to do things like restart, update, and check your instance. This is an enhanced version of the provided [SSH add-on by Home Assistant][hass-ssh] and focuses on security, usability, flexibility and also provides access using a web interface. [:books: Read the full app documentation][docs] ## WARNING The advanced SSH & Web Terminal app is very powerful and gives you access to almost all tools and hardware of your system. While this app is created and maintained with care and with security in mind, in the wrong or inexperienced hands, it could damage your system. ## Features This app, of course, provides an SSH server, based on [OpenSSH][openssh] and a web-based Terminal (which can be included in your Home Assistant frontend) as well. Additionally, it comes out of the box with the following: - Access your command line right from the Home Assistant frontend! - A secure default configuration of SSH: - Only allows login by the configured user, even if more users are created. - Only uses known secure ciphers and algorithms. - Limits login attempts to hold off brute-force attacks better. - Comes with an SSH compatibility mode option to allow older clients to connect. - Support for [Mosh][mosh-docs] allowing roaming and supports intermittent connectivity. - SFTP support is disabled by default but is user configurable. - Compatible if Home Assistant was installed via the generic Linux installer. - Username is configurable, so `root` is no longer mandatory. - Persists custom SSH client settings & keys between app restarts - Persists the shell history of both ZSH and Bash between app restarts, updates, and reboots. - Log levels for allowing you to triage issues easier. - Hardware access to your audio, uart/serial devices and GPIO pins. - Runs with more privileges, allowing you to debug and test more situations. - Has access to the dbus of the host system. - Has the option to access the Docker instance running on the host system. - Runs on host level network, allowing you to open ports or run little daemons. - 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 app start so that you can customize the shell to your likings. - [ZSH][zsh] as its default shell. Easier to use for the beginner, more advanced for the more experienced user. It even comes preloaded with ["Oh My ZSH"][ohmyzsh], with some plugins enabled as well. - 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, Neovim, tmux, and a bunch commonly used networking tools. ## Support Got questions? You have several options to get them answered: - The [Home Assistant Community Apps Discord chat server][discord] for app support and feature requests. - The [Home Assistant Discord chat server][discord-ha] for general Home Assistant discussions and questions. - The Home Assistant [Community Forum][forum]. - Join the [Reddit subreddit][reddit] in [/r/homeassistant][reddit] You could also [open an issue here][issue] on GitHub. ## Contributing This is an active open-source project. We are always open to people who want to use the code or contribute to it. We have set up a separate document containing our [contribution guidelines](.github/CONTRIBUTING.md). Thank you for being involved! :heart_eyes: ## Authors & contributors The original setup of this repository is by [Franck Nijhof][frenck]. For a full list of all authors and contributors, check [the contributors page][contributors]. ## We have got some Home Assistant apps for you Want some more functionality to your Home Assistant instance? We have created multiple apps for Home Assistant. For a full list, check out our [GitHub Repository][repository]. ## License MIT License Copyright (c) 2017-2026 Franck Nijhof Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. [commits-shield]: https://img.shields.io/github/commit-activity/y/hassio-addons/app-ssh.svg [commits]: https://github.com/hassio-addons/app-ssh/commits/main [contributors]: https://github.com/hassio-addons/app-ssh/graphs/contributors [discord-ha]: https://discord.gg/c5DvZ4e [discord]: https://discord.me/hassioaddons [docs]: https://github.com/hassio-addons/app-ssh/blob/main/ssh/DOCS.md [forum]: https://community.home-assistant.io/t/community-hass-io-add-on-ssh-web-terminal/33820?u=frenck [frenck]: https://github.com/frenck [github-sponsors-shield]: https://frenck.dev/wp-content/uploads/2019/12/github_sponsor.png [github-sponsors]: https://github.com/sponsors/frenck [github-actions-shield]: https://github.com/hassio-addons/app-ssh/workflows/CI/badge.svg [github-actions]: https://github.com/hassio-addons/app-ssh/actions [hass-ssh]: https://github.com/home-assistant/addons/tree/master/ssh [issue]: https://github.com/hassio-addons/app-ssh/issues [license-shield]: https://img.shields.io/github/license/hassio-addons/app-ssh.svg [maintenance-shield]: https://img.shields.io/maintenance/yes/2026.svg [mosh-docs]: https://github.com/hassio-addons/app-ssh/blob/main/ssh/DOCS.md#connecting-with-mosh [ohmyzsh]: http://ohmyz.sh/ [openssh]: https://www.openssh.com/ [patreon-shield]: https://frenck.dev/wp-content/uploads/2019/12/patreon.png [patreon]: https://www.patreon.com/frenck [project-stage-shield]: https://img.shields.io/badge/project%20stage-production%20ready-brightgreen.svg [reddit]: https://reddit.com/r/homeassistant [releases-shield]: https://img.shields.io/github/release/hassio-addons/app-ssh.svg [releases]: https://github.com/hassio-addons/app-ssh/releases [repository]: https://github.com/hassio-addons/repository [semver]: http://semver.org/spec/v2.0.0.htm [zsh]: https://en.wikipedia.org/wiki/Z_shell