balena-io / balena-cli

The official balena CLI tool.
Apache License 2.0
454 stars 139 forks source link

Add support for configuring image SSH keys #779

Open pimterry opened 6 years ago

pimterry commented 6 years ago

See https://github.com/resin-os/meta-resin/issues/478 https://github.com/resin-os/meta-resin/issues/608

Waiting on ResinOS to expose this in the boot partition (or for the ability to read hostapp partitions in resin-image-fs)

shaunmulligan commented 6 years ago

@pimterry probably better to connect it to https://github.com/resin-os/meta-resin/issues/608 as that is the original issue and the one that the team will use

pdcastro commented 4 years ago

config.json now accepts a sshKeys field, so a command like balena config inject could insert ssh keys to an image -- but we need better CLI support for it, including I think the ability of adding sshKeys to a running production image, remotely. Related projects: