1
0
mirror of synced 2025-12-21 19:06:49 -05:00
Files
docs/data/reusables/codespaces/ssh-server-installed.md
hubwriter 42570400de Codespaces: document the host image choice (#46188)
Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Isaac Brown <101839405+isaacmbrown@users.noreply.github.com>
Co-authored-by: Siara <108543037+SiaraMist@users.noreply.github.com>
Co-authored-by: SiaraMist <siaramist@github.com>
2023-11-29 00:08:06 +00:00

12 lines
464 B
Markdown

The codespace you connect to must be running an SSH server. The default dev container image includes an SSH server, which is started automatically. If your codespaces are not created from the default image, you can install and start an SSH server by adding the following to the `features` object in your `devcontainer.json` file.
```jsonc
"features": {
// ...
"ghcr.io/devcontainers/features/sshd:1": {
"version": "latest"
},
// ...
}
```