Skip to content

Commit e7e1fc7

Browse files
committed
Document sandbox SSH connection renewal and resume
1 parent bab45b5 commit e7e1fc7

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

‎cmd/sandbox/README.md‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,10 @@ after 24 hours and are renewed during connection setup. The sandbox's persistent
3333
HOME stores its server key and public-key entries, allowing reuse after restart.
3434
Each proxy invocation starts and cleans up its own remote server command. The server waits up to two minutes for its first connection and exits when its
3535
SSH session ends. The CLI renews the WebSocket and command-output stream every
36-
25 minutes before their route lifetime limits. A broken forwarding connection
37-
ends the SSH session; reconnect to start another one. Setup prunes session
36+
25 minutes before their route lifetime limits. If a forwarding connection drops
37+
unexpectedly, the CLI attempts to resume the same SSH session for up to 60 seconds.
38+
If recovery fails or the remote session is gone, SSH ends and reconnecting starts
39+
a new session. Setup prunes session
3840
directories older than a day while preserving directories leased by active servers.
3941
The CLI allows up to ten minutes to prepare the remote server, including sandbox
4042
startup and executable upload. The SSH handshake allows fifteen minutes overall,

0 commit comments

Comments
 (0)