Skip to content

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

Draft
theFong wants to merge 11 commits intomainfrom
feat/register-authorized-keys
Draft

feat(register): add user public key to authorized_keys on registration#300
theFong wants to merge 11 commits intomainfrom
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.
@patelspratik patelspratik force-pushed the BRE2-736-register branch 2 times, most recently from 93c012b to 8f67b8c Compare March 3, 2026 00:06
Base automatically changed from BRE2-736-register to main March 4, 2026 00:08
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