Every sandbox is born with its own unique SSH key.
./sandbox.sh clone ID REPO_URL will attempt to add the deploy key to GitHub automatically if you have the gh CLI installed and authenticated on your host.
- Extract the key:
./sandbox.sh key ID
- Add it to GitHub:
Settings -> Deploy keys -> Add deploy key(check "Allow write access").
- Unique keys per sandbox.
- No host keys leaked to container.
- Automatic
known_hostsfingerprinting for GitHub.