From b2b1d0a3982c88ce5406ace18b2c85c9cd8d49ed Mon Sep 17 00:00:00 2001 From: andrew-curtis Date: Mon, 19 Jun 2017 23:13:01 +1000 Subject: [PATCH] Update debugging.markdown (#2844) * Update debugging.markdown to help with creating SSH keys on all platforms and to avoid a potential pitfall I found. * Make link --- source/hassio/debugging.markdown | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/source/hassio/debugging.markdown b/source/hassio/debugging.markdown index b7f942f4d59..ae8eef22d6b 100644 --- a/source/hassio/debugging.markdown +++ b/source/hassio/debugging.markdown @@ -17,6 +17,16 @@ Create an `authorized_keys` file in the root of your SD card with your public ke 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). + +Follow steps 1-4 under 'Generating a new SSH key' (The other sections are not applicable to Hass.io and can be ignored.) + +Step 3 in the link above, shows the path to the private key file `id_rsa` for your chosen operating system. Your public key, `id_rsa.pub`, is saved in the same folder. Next, copy your public key file to the root of your SD card. + +

+Make sure when you are copying the public key to the root of the SD card that you rename the file correctly with no `.pub` file extension. +

+ ## {% linkable_title Checking the logs %} ```bash