]> code.ossystems Code Review - openembedded-core.git/commit
openssh: only create sshd host keys which have been enabled
authorAndre McCurdy <armccurdy@gmail.com>
Thu, 7 Jun 2018 18:48:39 +0000 (11:48 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 15 Jun 2018 10:15:39 +0000 (11:15 +0100)
commit2303d795ae96f1a60caf145a0ddf100e89c4b5b0
treed6781f02902a812b67b8bedb99b01381653a1995
parentb81389c50e0d191e31f71af82d86bfbb37b83acc
openssh: only create sshd host keys which have been enabled

Previously sshd_check_keys would create a full set of all possible
sshd host keys, even if sshd_config has been set to only enable
certain key types.

Update sshd_check_keys to only create keys which have been enabled in
sshd_config (with a fallback to creating a full set of key types if
no HostKey options are defined, as before).

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-connectivity/openssh/openssh/sshd_check_keys