sha256:009b25c573484a98d6c1c5b87b57949c38a2922e1f9fa91f4cad341f03b25852
Last pushed
about 8 hours by sbx
Type
Sandbox Kit
Manifest digest
sha256:009b25c573484a98d6c1c5b87b57949c38a2922e1f9fa91f4cad341f03b25852
Appends a GitLab instance's SSH host keys to ~/.ssh/known_hosts so git clone/push/pull over SSH work without interactive host verification. GitLab.com's keys are pinned; a self-managed instance's key is supplied with the hostKey argument. Writes no private key material and touches nothing else under ~/.ssh.
| Name | Required | Default | Description |
|---|---|---|---|
host | Optional | gitlab.com | GitLab instance hostname, e.g. gitlab.example.com for a self-managed instance |
hostKey | Optional | | known_hosts key for a self-managed instance, as 'ALGORITHM BASE64' with no trailing comment. Required when host is not gitlab.com; ignored for gitlab.com, whose keys are pinned below. |
${{ kit.args.host }}
sbx run <agent> --kit sbx/gitlab-ssh-kit:latestRun the following command to install sbx on your machine.
brew install docker/tap/sbxwinget install Docker.sbx