Summary
Fully migrate the gateway protocol from WebSocket to SSH transport, with client-side host key pinning for cryptographic verification that the client is connecting to the intended gateway.
Requirements
Server-side (gateway)
Client-side (TUI)
Config
Security Benefits
- Authenticity: Client cryptographically verifies it's talking to the real gateway
- MITM protection: Attacker can't intercept without the private host key
- No TLS CA dependency: Self-contained trust model
References
Summary
Fully migrate the gateway protocol from WebSocket to SSH transport, with client-side host key pinning for cryptographic verification that the client is connecting to the intended gateway.
Requirements
Server-side (gateway)
Client-side (TUI)
~/.rustyclaw/known_hostsor similar)Config
gateway.transport = "ssh" | "websocket" | "both"optiongateway.ssh.require_pinned_key = trueoptionSecurity Benefits
References