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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy