[yocto] Configuring dropbear ssh
Maxin John
maxin at maxinbjohn.info
Fri May 22 06:46:05 PDT 2015
Hi Matthew,
On Fri, May 22, 2015 at 3:34 PM, Matthew Karas <mkarascybi at gmail.com> wrote:
> I've tried googling and searching for a while about this.
>
> How do I set up yocto to configure dropbear ssh?
>
> I'd like to prevent password access over ssh, only permitting key access.
Easiest way will be to create a .bbappend file in your layer which sets
DROPBEAR_EXTRA_ARGS="-s -g"
-s Disable password logins.
-g Disable password logins for root.
---
do_install_append() {
case "${MACHINE}" in "my_special_machine" )
echo 'DROPBEAR_EXTRA_ARGS="-s -g"'> ${D}${sysconfdir}/default/dropbear;;
*);;
esac
}
---
> Thanks.
Best Regards,
Maxin
More information about the yocto
mailing list