Share feedback
Answers are generated based on the documentation.

sbx setup ssh

内容説明Set up SSH client config for the sandbox endpoint
利用方法sbx setup ssh [flags]

試験的

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 .sbx" connects with no prompts. Named app instances use "ssh .sbx-" instead. 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).

Commands

コマンド内容説明
sbx setup ssh removeexperimental Remove SSH client config for the current local app instance

Options

オプションデフォルト内容説明
--alias*.sbxssh_config Host pattern to write

Global options

オプションデフォルト内容説明
-D, --debugEnable debug logging

Examples

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