Merge pull request #6065 from cli/eljog/update-ssh-help

SSH help text to suggest the new features syntax
This commit is contained in:
Eljo George 2022-08-15 10:50:04 -07:00 committed by GitHub
commit d4336e0652
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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. 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, 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 install it in your Dockerfile or, for codespaces that use Debian-based images,
in your devcontainer.json: you can add the following to your devcontainer.json:
"features": { "features": {
"sshd": "latest" "ghcr.io/devcontainers/features/sshd:1": {
"version": "latest"
}
} }
`), `),
Example: heredoc.Doc(` Example: heredoc.Doc(`