Share feedback
Answers are generated based on the documentation.

sbx setup ssh

DescriptionSet up SSH client config for the sandbox endpoint
Usagesbx 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 an ~/.ssh/config block + known_hosts so "ssh .sbx" connects to a sandbox with no prompts. Re-run any time; it's idempotent.

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).

Options

OptionDefaultDescription
--alias*.sbxssh_config Host pattern to write

Global options

OptionDefaultDescription
-D, --debugEnable debug logging

Examples

sbx setup ssh
ssh my-sandbox.sbx -- echo hello