From 9f1f74c30a2a0d4fee52351169d40e79eaa160e6 Mon Sep 17 00:00:00 2001 From: Eljo George Date: Fri, 12 Aug 2022 21:00:57 +0000 Subject: [PATCH] SSH help text to suggest the new features syntax --- pkg/cmd/codespace/ssh.go | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/pkg/cmd/codespace/ssh.go b/pkg/cmd/codespace/ssh.go index 58007fd8d..a88cec2cf 100644 --- a/pkg/cmd/codespace/ssh.go +++ b/pkg/cmd/codespace/ssh.go @@ -66,11 +66,13 @@ func newSSHCmd(app *App) *cobra.Command { Note that the codespace you are connecting to must have an SSH server pre-installed. If the docker image being used for the codespace does not have an SSH server, - install it in your Dockerfile or you can try adding the following snippet - in your devcontainer.json: - + install it in your Dockerfile or, for codespaces that use Debian-based images, + you can add the following to your devcontainer.json: + "features": { - "sshd": "latest" + "ghcr.io/devcontainers/features/sshd:1": { + "version": "latest" + } } `), Example: heredoc.Doc(`