Add prepare-host.sh: one-command SSH host onboarding

Generalize the .26 rollout into a reusable template:
- authorize the host principal on ssh/roles/host (allowlist, merged)
- sign the host certificate (ssh/sign/host)
- emit a self-contained installer (user-CA TrustedUserCAKeys + HostCertificate)
  to artifacts/, additive and lockout-safe
- add @cert-authority for the host to the client's known_hosts
Needs no SSH access to the target (ssh-keyscan). README updated.

Also gitignore .claude/ (local harness settings).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-07-19 10:53:32 +02:00
parent 5e5e7f779f
commit af31208251
3 changed files with 127 additions and 3 deletions

1
.gitignore vendored
View File

@@ -9,3 +9,4 @@ config/tls/
data/
.env
artifacts/
.claude/