> ## Documentation Index
> Fetch the complete documentation index at: https://namespace.so/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# devbox configure-ssh

> Configure local SSH access to a Devbox.

Use `devbox configure-ssh` to add a selected Devbox to your local SSH configuration. The command prints the generated SSH hostname after configuration.

## Usage

```bash theme={null}
devbox configure-ssh [name] [flags]
```

The Devbox name is optional. If you omit it, the CLI prompts you to select a Devbox.

## Configure a Devbox for SSH

```bash theme={null}
devbox configure-ssh main
```

```text Output nocopy theme={null}
Try
  ssh <generated-hostname>
```

## Options

<ResponseField name="--show-all" type="boolean" default="false">
  Include Devboxes owned by other workspace members when selecting a Devbox.
</ResponseField>

## Related topics

<Card title="Remote development" icon="monitor" href="/docs/devbox/remote-development">
  Connect to a Devbox with SSH or an IDE.
</Card>
