8
Setting up SSH keys for all my computers
(lemmy.world)
Community about the single-board computers, micro-controllers and related projects.
Other RaspberryPi communities on Lemmy
Debian has a package
ssh-import-id
which you can then runssh-import-id-gh $githubUsername
and it will ingest all the public keys you’ve put in GitHub. Should be able to easily add it to thecloud-init.yaml
but I just always install and run this first.You can also just copy the keys to the install when you are imaging the SD card.
Or use Ansible.
Thanks, I'll take a look at Ansible