feat: auto-connect to tmate session with --ssh-after-step by robstolarz · Pull Request #462 · depot/cli

@robstolarz @claude

Instead of just printing status info and exiting, --ssh-after-step now
polls the job's logs for the tmate SSH connection string and automatically
connects. In non-terminal contexts, prints the SSH command to stdout.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

lukevmorris

approved these changes Mar 20, 2026

@robstolarz @claude

Match `SSH: ssh <session>@<host>.tmate.io` instead of any line
containing `ssh <anything>@<anything>`.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

cursor[bot]

@robstolarz robstolarz deleted the rob/dep-3882-improve-tmate-ssh-after-step-wait-dx branch

March 20, 2026 19:50