diff mbox series

document the OPENSSH_HOST_KEY_DIR and OPENSSH_HOST_KEY_DIR_READONLY_CONFIG variable

Message ID 20260205211834.12440-1-patrick.vogelaar.dev@mailbox.org
State Under Review
Headers show
Series document the OPENSSH_HOST_KEY_DIR and OPENSSH_HOST_KEY_DIR_READONLY_CONFIG variable | expand

Commit Message

Patrick Vogelaar Feb. 5, 2026, 9:18 p.m. UTC
Added by commit addd80ddfd89 ("openssh: add variable for key path") in OE-Core.

Signed-off-by: Patrick Vogelaar <patrick.vogelaar.dev@mailbox.org>
---
 documentation/migration-guides/release-notes-6.0.rst | 8 ++++++++
 documentation/ref-manual/variables.rst               | 8 ++++++++
 2 files changed, 16 insertions(+)
diff mbox series

Patch

diff --git a/documentation/migration-guides/release-notes-6.0.rst b/documentation/migration-guides/release-notes-6.0.rst
index 13ce28b3b..c6e5b5a1f 100644
--- a/documentation/migration-guides/release-notes-6.0.rst
+++ b/documentation/migration-guides/release-notes-6.0.rst
@@ -23,6 +23,14 @@  New Features / Enhancements in |yocto-ver|
 
 -  New variables:
 
+   - The :term:`OPENSSH_HOST_KEY_DIR_READONLY_CONFIG` variable can be used to
+     specify the directory where OpenSSH host keys are stored when the device
+     uses a read-only filesystem. The default value is ``/var/run/ssh``.
+
+   - The :term:`OPENSSH_HOST_KEY_DIR` variable can be used to specify the
+     directory where OpenSSH host keys are stored. The default value is
+     ``/etc/ssh``.
+
 -  Kernel-related changes:
 
 -  New core recipes:
diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst
index 4d8a35473..00fbc52a6 100644
--- a/documentation/ref-manual/variables.rst
+++ b/documentation/ref-manual/variables.rst
@@ -6481,6 +6481,14 @@  system and gives an overview of their function and contents.
       default by setting the variable in a custom distribution
       configuration file.
 
+   :term:`OPENSSH_HOST_KEY_DIR`
+      Specifies the directory where OpenSSH host keys are stored. Default
+      is ``/etc/ssh``.
+
+   :term:`OPENSSH_HOST_KEY_DIR_READONLY_CONFIG`
+      Specifies the directory where OpenSSH host keys are stored when the
+      device uses a read-only filesystem. Default is ``/var/run/ssh``.
+
    :term:`OPKG_MAKE_INDEX_EXTRA_PARAMS`
       Specifies extra parameters for the ``opkg-make-index`` command.