Repository navigation
SSH Keys for Git
A sandbox can sign with your SSH keys without ever holding them.
boxquell ssh-keys --add ~/.ssh/id_ed25519 # every sandbox may sign with this key
boxquell ssh-keys mybox --agent on # this sandbox may use everything in your SSH agent
boxquell allow mybox github.com:22 # git over SSH needs the port allowedPrivate keys never enter a sandbox. Each sandbox gets an agent socket (SSH_AUTH_SOCK) that leads back to this computer, where the signing happens. The sandbox can use a key while it runs, but cannot read or copy it.
| Option | Meaning |
|---|---|
[NAME] |
The sandbox. Without it the choice applies to all sandboxes. |
--add <FILE> |
Share this private key file (repeatable) |
--rm <FILE> |
Stop sharing this key file (repeatable) |
--agent on|off |
Share every key loaded in this computer's SSH agent |
Key files with a passphrase work through your own SSH agent: ssh-add, then --agent on. Changes apply at once, also to running sandboxes. The same choices are under Secrets in the app.
Note
Not available on Windows yet.
Warning
While a key is shared, anything in the sandbox can ask for signatures with it. Share only keys you can afford to have used by the agent, for example a key limited to one repository.
Boxquell is licensed under Apache-2.0 or MIT, at your option. | Repository | Releases | Changelog | Report a vulnerability