Skip to content

Commit

Permalink
DevContainer: Add a SSH server into a container
Browse files Browse the repository at this point in the history
Fixes this error when trying to run `gh codespaces ssh`:

error getting ssh server details: failed to start SSH server:
Please check if an SSH server is installed in the container.
  • Loading branch information
astrophena authored and nico committed Nov 15, 2024
1 parent 3c2e499 commit 6b06454
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@
"password": "vscode",
"webPort": "6080",
"vncPort": "5901"
},
"ghcr.io/devcontainers/features/sshd:1": {
"version": "latest"
}
},

Expand Down

0 comments on commit 6b06454

Please sign in to comment.