Add information on turning off OS SSH access (#866)

* Add information on turning off OS SSH access

The current documentation does not describe how to stop the SSH access to the host if it is no longer needed. The service will be stopped and the keys removed if the Home Assistant device is booted with an empty CONFIG drive inserted.

* Tweak

Co-authored-by: Franck Nijhof <frenck@frenck.nl>
This commit is contained in:
Brint E. Kriebel 2021-06-28 09:21:13 -07:00 committed by GitHub
parent afc44b25f3
commit 3c811279a7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -37,6 +37,10 @@ You will initially be able to perform normal [CLI tasks]. If you need access to
[Home Assistant OS]: https://github.com/home-assistant/operating-system [Home Assistant OS]: https://github.com/home-assistant/operating-system
[Supervisor Architecture]: /architecture_index.md [Supervisor Architecture]: /architecture_index.md
### Turning off SSH access to the host
Use a USB drive formatted with FAT, ext4, or NTFS and name it CONFIG (case sensitive). Remove any existing `authorized_keys` file from the drive and leave the drive empty. When the Home Assistant OS device is rebooted with this drive inserted, any existing keys will be removed and the SSH service will be stopped.
## Checking the logs ## Checking the logs
```shell ```shell