SSH help text to suggest the new features syntax

This commit is contained in:
Eljo George 2022-08-12 21:00:57 +00:00
parent d21d388b8d
commit 9f1f74c30a

View file

@ -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(`