Hosts UI: add/edit/delete servers with SSH passwords and keys #7

Closed
opened 2026-11-16 10:06:30 +01:00 by schmidt.florian · 1 comment
Owner

Everything from the UI: host CRUD (hosts.yaml), per-host SSH credentials (password, private key + passphrase, OpenSSH certificate if feasible, or ShellBook's own key) stored write-only and encrypted in the data dir, test connection, install ShellBook key via password, forget host key, show/copy ShellBook public key.

Everything from the UI: host CRUD (hosts.yaml), per-host SSH credentials (password, private key + passphrase, OpenSSH certificate if feasible, or ShellBook's own key) stored write-only and encrypted in the data dir, test connection, install ShellBook key via password, forget host key, show/copy ShellBook public key.
Author
Owner

Done in 4d9a632 (merged 83e4e3f) and 324ad4b. Hosts page: add/edit/delete servers (hosts.yaml, optimistic version), per-host password or private key + passphrase stored write-only, AES-256-GCM encrypted in the data dir (outside the workspace), test connection, install ShellBook key via password (shows the exact script first), forget host key with TOFU confirmation, show/copy ShellBook public key. Failures now say whether authentication failed or the host is unreachable. OpenSSH user certificates are not feasible: ssh2 has no client API for them, the UI says so. Verified by automated tests (server 184 passed, web 63) against an in-process ssh2 server; not yet verified against a real OpenSSH server or in a real browser.

Done in 4d9a632 (merged 83e4e3f) and 324ad4b. Hosts page: add/edit/delete servers (hosts.yaml, optimistic version), per-host password or private key + passphrase stored write-only, AES-256-GCM encrypted in the data dir (outside the workspace), test connection, install ShellBook key via password (shows the exact script first), forget host key with TOFU confirmation, show/copy ShellBook public key. Failures now say whether authentication failed or the host is unreachable. OpenSSH user certificates are not feasible: ssh2 has no client API for them, the UI says so. Verified by automated tests (server 184 passed, web 63) against an in-process ssh2 server; not yet verified against a real OpenSSH server or in a real browser.
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: FinalFactory/ShellBook#7