Share a live Claude Code session with a collaborator over SSH.
- Share a live Claude Code session — guest joins with a single
sshcommand, no install needed - Discover sessions on your local network automatically (
--discoverable+claude-pair discover) - Restrict access to specific GitHub users via SSH key verification (
--allow) - Browser-based viewer via ttyd (
--web) for non-technical observers - Session recording in asciinema-compatible format
Host (starts the session):
claude-pair hostRestrict to specific GitHub users:
claude-pair host --allow alice --allow bobMake it discoverable on your local network:
claude-pair host --discoverableAdd a browser-accessible viewer:
claude-pair host --webGuest (joins with the SSH command the host shares):
Or discover sessions on the local network:
claude-pair discovercurl -fsSL https://raw.githubusercontent.com/albertnahas/claude-pair/main/install.sh | shOr with Go:
go install github.com/albertnahas/claude-pair/cmd/claude-pair@latestbrew install albertnahas/tap/claude-pairThe installer handles all dependencies (upterm, tmux, ttyd). Run claude-pair doctor to verify.
claude-pair host creates a tmux session, launches Claude Code inside it, and connects upterm to relay it over SSH. The guest runs a plain ssh command — no client install required. The join URL is displayed in the host terminal and embedded in the tmux status bar for easy reference.
See ROADMAP.md.
See CONTRIBUTING.md.
