sbx setup ssh
| Description | Set up SSH client config for the sandbox endpoint |
|---|---|
| Usage | sbx setup ssh [flags] |
Experimental
This command is experimental.
Experimental features are intended for testing and feedback as their functionality or design may change between releases without warning or can be removed entirely in a future release.
Description
Write a generated SSH config + known_hosts and include it from
~/.ssh/config so "ssh
No SSH client key is needed — authentication is handled by the daemon's Unix socket (OS user boundary) combined with an active Docker login. Sign in first (sbx login).
Commands
| Command | Description |
|---|---|
sbx setup ssh remove | experimental Remove SSH client config for the current local app instance |
Options
| Option | Default | Description |
|---|---|---|
--alias | *.sbx | ssh_config Host pattern to write |
Global options
| Option | Default | Description |
|---|---|---|
-D, --debug | Enable debug logging |
Examples
sbx setup ssh
ssh my-sandbox.sbx -- echo hello