Merge pull request #6019 from eljog/eljog/gh-cs-ssh-help
Codespaces ssh helptext to indicate how to install ssh
This commit is contained in:
commit
538be1e398
1 changed files with 8 additions and 0 deletions
|
|
@ -63,6 +63,14 @@ func newSSHCmd(app *App) *cobra.Command {
|
|||
|
||||
Once that is set up (see the second example below), you can ssh to codespaces as
|
||||
if they were ordinary remote hosts (using 'ssh', not 'gh cs ssh').
|
||||
|
||||
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, you can
|
||||
try adding the following snippet in your devcontainer.json:
|
||||
|
||||
"features": {
|
||||
"sshd": "latest"
|
||||
}
|
||||
`),
|
||||
Example: heredoc.Doc(`
|
||||
$ gh codespace ssh
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue