From 32ba43072b622c93a567ddf1da2cc59ada4a37b0 Mon Sep 17 00:00:00 2001 From: Paul Eggleton Date: Thu, 6 Oct 2022 15:06:40 +1300 Subject: ref-manual: add a note to ssh-server-dropbear feature Add a note regarding the 4.1 change to add openssh-sftp-server as a recommends from ssh-server-dropbear. (From yocto-docs rev: dd4775d666ca8309ef029fd329a248397bcdedc6) Signed-off-by: Paul Eggleton Signed-off-by: Richard Purdie --- documentation/ref-manual/features.rst | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'documentation') diff --git a/documentation/ref-manual/features.rst b/documentation/ref-manual/features.rst index 5e853caa2c..9dc73db448 100644 --- a/documentation/ref-manual/features.rst +++ b/documentation/ref-manual/features.rst @@ -322,6 +322,21 @@ these valid features is as follows: - *ssh-server-dropbear:* Installs the Dropbear minimal SSH server. + .. note:: + + As of the 4.1 release, the ``ssh-server-dropbear`` feature also + recommends the ``openssh-sftp-server`` package, which by default + will be pulled into the image. This is because recent versions of + the OpenSSH ``scp`` client now use the SFTP protocol, and thus + require an SFTP server to be present to connect to. However, if + you wish to use the Dropbear ssh server `without` the SFTP server + installed, you can either remove ``ssh-server-dropbear`` from + ``IMAGE_FEATURES`` and add ``dropbear`` to :term:`IMAGE_INSTALL` + instead, or alternatively still use the feature but set + :term:`BAD_RECOMMENDATIONS` as follows:: + + BAD_RECOMMENDATIONS += "openssh-sftp-server" + - *ssh-server-openssh:* Installs the OpenSSH SSH server, which is more full-featured than Dropbear. Note that if both the OpenSSH SSH server and the Dropbear minimal SSH server are present in -- cgit v1.2.3-54-g00ecf