This series of patch introduces a new way of modifying OpenSSH sshd configuration. Instead of modifying the files and launching the server with custom options, a package which RPROVIDES sshd-config must be installed.
The package to use is selected using a new variable called SSHD_CONFIG which is used exclusively when selecting ssh-server-openssh in IMAGE_FEATURES. Changes since v1: Remove documentation Changes since v2: Restore SYSCONFDIR in /etc/default/ssh, otherwise keys are not correctly generated David Vincent (3): openssh: Package server configuration core-image: Set default sshd configuration rootfs-postcommands: Modify ssh-related commands meta/classes/core-image.bbclass | 3 +- meta/classes/rootfs-postcommands.bbclass | 17 +++----- meta/recipes-connectivity/openssh/openssh_7.4p1.bb | 47 ++++++++++++++++++---- 3 files changed, 48 insertions(+), 19 deletions(-) -- 2.11.0 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core