8000 update ssh note and example · coder/coder@03c60bf · GitHub
[go: up one dir, main page]

Skip to content

Commit 03c60bf

Browse files
committed
update ssh note and example
1 parent e83d564 commit 03c60bf

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

docs/user-guides/devcontainers/working-with-dev-containers.md

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,19 @@ This page assumes you have a [dev containers integration](./index.md) ready.
1212
You can SSH into your dev container directly using the Coder CLI:
1313

1414
```console
15-
coder ssh --container keen_dijkstra my-workspace
15+
coder ssh --container my-container-name my-workspace
1616
```
1717

18+
Remember to replace:
19+
20+
- `my-container-name` with the dev container agent name.
21+
- `my-workspace` with your workspace's name.
22+
1823
> [!NOTE]
1924
>
20-
> SSH access is not yet compatible with the `coder config-ssh` command for use
21-
> with OpenSSH. You would need to manually modify your SSH config to include the
22-
> `--container` flag in the `ProxyCommand`.
25+
> Starting with Coder v2.24.0, `coder config-ssh` works with dev containers.
26+
> If you’re using an older Coder version, add `--container <name>` to the
27+
> `ProxyCommand` entry in your SSH config.
2328
2429
## Web Terminal Access
2530

0 commit comments

Comments
 (0)
0