Skip to content

Document /os/ssh/authorized_keys Supervisor API endpoint - #3252

Draft
agners wants to merge 1 commit into
home-assistant:masterfrom
agners:os-ssh-authorized-keys
Draft

Document /os/ssh/authorized_keys Supervisor API endpoint#3252
agners wants to merge 1 commit into
home-assistant:masterfrom
agners:os-ssh-authorized-keys

Conversation

@agners

@agners agners commented Jul 14, 2026

Copy link
Copy Markdown
Member

Proposed change

Document the new POST /os/ssh/authorized_keys Supervisor API endpoint added in home-assistant/supervisor#7039, which manages root's SSH authorized keys for the Home Assistant OS debug console (port 22222).

The documentation covers the replace semantics (submitted list replaces the configured keys, empty list clears them), the write-only nature of the endpoint, the strict key validation (plain OpenSSH public keys only, allowlisted key types) and the admin token requirement.

Type of change

  • Document existing features within Home Assistant
  • Document new or changing features which there is an existing pull request elsewhere
  • Spelling or grammatical corrections, or rewording for improved clarity
  • Changes to the backend of this documentation
  • Removed stale or deprecated documentation

Additional information

🤖 Generated with Claude Code

Document the new POST /os/ssh/authorized_keys endpoint which manages
root's SSH authorized keys for the Home Assistant OS debug console
(port 22222).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@agners
agners marked this pull request as draft July 14, 2026 20:41
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.

1 participant