From 89bf377e862b06fc8f6a338ddb4e43c37ab4c04d Mon Sep 17 00:00:00 2001 From: cogneato Date: Fri, 10 Aug 2018 09:12:12 -0600 Subject: [PATCH] Added HassOS instructions for key import (#65) Added HassOS specific instructions for authorized_keys import and noted resinOS instructions as deprecated. --- docs/hassio_debugging.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/hassio_debugging.md b/docs/hassio_debugging.md index eb57c7bc..8871ecbc 100644 --- a/docs/hassio_debugging.md +++ b/docs/hassio_debugging.md @@ -10,8 +10,12 @@ The following debug tips and tricks are for people who are running the Hass.io i ## SSH access to the host +### resinOS based Hass.io (deprecated) Create an `authorized_keys` file containing your public key, and place it in the root of the boot partition of your SD card. Once the device is booted, you can access your device as root over SSH on port 22222. +### HassOS based Hass.io +Use a USB drive formatted with FAT, ext4, or NTFS and name it CONFIG (case sensitive). Create an `authorized_keys` file containing your public key, and place it in the root of the USB drive. From the UI, navigate to the hass.io system page and choose "Import from USB". You can now access your device as root over SSH on port 22222. Alternatively, the file will be imported from the USB when the hass.io device is rebooted. + Windows instructions how to generate and use private/public keys with Putty are [here][windows-keys]. Instead of the droplet instructions, add the public key as per above instructions. Alternative instructions, for Mac, Windows and Linux can be found [here](https://help.github.com/articles/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent/#platform-mac).