Paired cloud integration
Browser SSH through Kerrigan
Pair once to trust the relay endpoint. Open two outbound WebSockets only when an authorized operator requests a shell.
The browser and controller may attach in either order. The relay validates each one-use grant and pairs only peers from the same session; browser grants also require an allowed Origin.
After ready, input, output, resize events and acknowledgements travel through the relay. Kerrigan owns the SSH connection and PTY. On revocation, expiry or disconnect, close both WebSockets; Kerrigan closes SSH and releases the device.