Documentation
README
Remote Claude Code
Drive Claude Code on a remote Linux host over SSH. Three modes, in increasing interactivity:
- Persistent SSH session — one long-lived expect-driven connection you keep feeding commands across turns.
- Headless (
claude -p) — one-shot or scripted calls, with the stdin fix that naive invocations need. - Interactive TUI — the real Claude Code UI inside a remote
tmuxsession, driven withtmux send-keys/tmux capture-pane. tmux is the way to do interactive use.
Reach for this skill when the user wants to run or drive Claude Code on a server, keep an SSH connection open across turns, or hold a continuous conversation with Claude Code on a remote box.
Before you start
This is the opening of the README. Read the full README on GitHub.