Deploy self-hosted environments to production changedself-hosted-environments-deploy
Nearest release: v2.1.335, published 5 hours before upstream edited the page. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
Upstream edited this page at 3 Dec 2026 03:27 UTC, give or take a minute or two: the time comes from Anthropic’s own sitemap rather than from a commit. This site recorded the change at 3 Dec 2026 03:37 UTC.
Upstream edited
Recorded here
Lines+8added
Lines−0removed
From line
350
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits65to this page, all time
The whole hunk
from line 350, old and new numbered
/
from line 350
350350
351351Host rewriting runs first, so list the internal hostname in `--git-ssh-rewrite` if you need both. For full control over checkout, use a [`checkout` lifecycle hook](https://code.claude.com/docs/en/self-hosted-environments-configuration#checkout).
352352
353To clone Bitbucket Cloud repositories over SSH, update the runner to v2.1.335 or later, then point it at `ssh.bitbucket.org`:
354
3551. Add `--git-ssh-rewrite ssh.bitbucket.org` to the runner command. If you already pass `--git-ssh-rewrite bitbucket.org`, remove that flag.
3562. Allow egress to `ssh.bitbucket.org` on port 22, and add its host key to the runner's `known_hosts` file.
3573. If the runner's SSH config has a `Host bitbucket.org` block, copy its settings other than `HostName bitbucket.org` to a `Host ssh.bitbucket.org` block.
358
359If you already pass `ssh.bitbucket.org` or `altssh.bitbucket.org` to a runner's `--git-ssh-rewrite` flag without `bitbucket.org`, update the runner and keep the flag as it is.
360
353361### Start a session on a repository outside GitHub
354362
355363To run a session on a repository from a git host other than GitHub, start the session from your terminal, in a checkout of that repository. First check the runner's git credentials, network and git proxy, the repository's address, and your branch:
No line in this hunk matches that.