From 71b618a6b4ebc74739ba2a7aabf7e5cfc467bd78 Mon Sep 17 00:00:00 2001 From: Laszlo Magyar Date: Mon, 30 May 2022 12:47:15 +0200 Subject: [PATCH] Updates outdated procedure to SSH host access (#1341) --- docs/operating-system/debugging.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/operating-system/debugging.md b/docs/operating-system/debugging.md index c1900e80..c6f42335 100644 --- a/docs/operating-system/debugging.md +++ b/docs/operating-system/debugging.md @@ -17,7 +17,7 @@ SSH access through the [SSH add-on] (which will give you SSH access through port ### Home Assistant Operating System -Use a USB drive formatted with FAT, ext4, or NTFS and name it CONFIG (case sensitive). Create an `authorized_keys` file (no extension) containing your public key, and place it in the root of the USB drive. File needs to be ANSI encoded (not UTF-8) and must have Unix line ends (LF), not Windows (CR LF). See [Generating SSH Keys](#generating-ssh-keys) section below if you need help generating keys. From the UI, navigate to the Supervisor 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 Home Assistant OS device is rebooted. +Use a USB drive formatted with FAT, ext4, or NTFS and name it CONFIG (case sensitive). Create an `authorized_keys` file (no extension) containing your public key, and place it in the root of the USB drive. File needs to be ANSI encoded (not UTF-8) and must have Unix line ends (LF), not Windows (CR LF). See [Generating SSH Keys](#generating-ssh-keys) section below if you need help generating keys. Use the CLI (eg. SSH to the [SSH add-on] on port 22) and import the `authorized_keys` file with the `ha os import` command. You can now access your device as root over SSH on port 22222. Alternatively, the file will be imported from the USB when the Home Assistant OS device is rebooted. :::tip Make sure when you are copying the public key to the root of the USB drive that you rename the file correctly to `authorized_keys` with no `.pub` file extension.