From bd4553d8a4960f509cbf4f89a966bdcb4ad77b28 Mon Sep 17 00:00:00 2001 From: Warren Buckley Date: Mon, 14 Nov 2022 10:01:34 +0000 Subject: [PATCH] Adds the SSH feature to allow the GitHub CLI SSH command to work --- .devcontainer/devcontainer.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 2819ccf8b0..e5aaa046fc 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -18,6 +18,12 @@ // https://github.com/devcontainers/templates/issues/38#issuecomment-1310803259 "ghcr.io/devcontainers/features/dotnet:1": { "version": "7" + }, + + // Adds SSH support to the container + // Allowing the Github CLI `gh codespace ssh` to work + "ghcr.io/devcontainers/features/sshd:1": { + "version": "latest" } },