Skip to content

feat(register): add user public key to authorized_keys on registration#300

Draft
theFong wants to merge 11 commits intoBRE2-736-registerfrom
feat/register-authorized-keys
Draft

feat(register): add user public key to authorized_keys on registration#300
theFong wants to merge 11 commits intoBRE2-736-registerfrom
feat/register-authorized-keys

Conversation

@theFong
Copy link
Member

@theFong theFong commented Feb 27, 2026

  • After brev register completes, fetches the user's public key and appends it to ~/.ssh/authorized_keys on the registered machine
  • Enables SSH access to the device using the user's brev key pair
  • Idempotent: checks for existing key before appending, preserves existing entries
  • Non-blocking: failures to write authorized_keys are logged as warnings and don't fail registration

patelspratik and others added 11 commits February 24, 2026 18:26
After device registration completes, fetch the user's public key and
append it to ~/.ssh/authorized_keys on the registered machine. This
enables SSH access to the device using the user's brev key pair.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants