this post was submitted on 24 Mar 2024
8 points (90.0% liked)
raspberrypi
3255 readers
4 users here now
Community about the single-board computers, micro-controllers and related projects.
Other RaspberryPi communities on Lemmy
founded 4 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
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