With dropbear the ability to log in without a password is enabled and disabled via ifdefs and that is controlled via debug-tweaks appearing in IMAGE_FEATURES. It isn't particularly nice to be changing the content of a non-image recipe via IMAGE_FEATURES (requiring dropbear to be rebuilt) - what would be better if this could be configured at runtime somehow, and then this could be something that was tweaked during image postprocessing.
Merged to master in the following commits: http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=955568ddfad2e21b8ff680d84655b2c9d54c06f2 http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=411413aa281e2a95a7a641a91ec3c0b1c07471c8
Verified in master: 411413aa281e2a95a7a641a91ec3c0b1c07471c8 Added a test case to verify debug_tweaks functionality: https://bugzilla.yoctoproject.org/tr_show_case.cgi?case_id=735
Added another test case as per Paul's suggestion: https://bugzilla.yoctoproject.org/tr_show_case.cgi?case_id=736
Test cases ware moved. Here are the new links: https://bugzilla.yoctoproject.org/tr_show_case.cgi?case_id=752 https://bugzilla.yoctoproject.org/tr_show_case.cgi?case_id=753