From cd812f0395ac39ca6813b321c7b4c55096401ab2 Mon Sep 17 00:00:00 2001 From: Patrick Ellis <319655+pje@users.noreply.github.com> Date: Tue, 6 Feb 2024 10:06:07 -0500 Subject: [PATCH] Add sshd to .devcontainer.json (#3079) This is required in order to ssh into a codespace for the repo: > error getting ssh server details: failed to start SSH server: Please check if an SSH server is installed in the container. If the docker image being used for the codespace does not have an SSH server, install it in your Dockerfile or, for codespaces that use Debian-based images, you can add the following to your devcontainer.json: > > "features": { > "ghcr.io/devcontainers/features/sshd:1": { > "version": "latest" > } > } --- .devcontainer/devcontainer.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 245547cd5..c66250eef 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -8,6 +8,9 @@ }, "ghcr.io/devcontainers/features/node:1": { "version": "16" + }, + "ghcr.io/devcontainers/features/sshd:1": { + "version": "latest" } }, "customizations": {