[OE-core] how to *securely* do a remote install of an OE image?

Patrick Ohly patrick.ohly at intel.com
Tue Feb 28 12:42:30 UTC 2017


On Tue, 2017-02-28 at 13:32 +0100, Gary Thomas wrote:
> > For ssh keys, there's rootfsdebugfiles.bbclass. In local.conf:
> >
> > INHERIT += "rootfsdebugfiles"
> > ROOTFS_DEBUG_FILES += "/home/pohly/.ssh/id_rsa.pub
> ${IMAGE_ROOTFS}/home/root/.ssh/authorized_keys ;"
> >
> > This copies my id_rsa.pub into authorized_keys and thus let's me log
> > into images that I create via ssh.
> >
> 
> Does this work for dropbear or only openssh?

Should also work with dropbear. From
https://matt.ucc.asn.au/dropbear/dropbear.html:

"Compatible with OpenSSH ~/.ssh/authorized_keys public key
authentication"

-- 
Best Regards, Patrick Ohly

The content of this message is my personal opinion only and although
I am an employee of Intel, the statements I make here in no way
represent Intel's position on the issue, nor am I authorized to speak
on behalf of Intel on this matter.






More information about the Openembedded-core mailing list