Skip to content

Commit 73251cf

Browse files
chore: add documentation to the coder ssh command regarding feature parity with ssh (#17827)
Closes [coder/internal#628](coder/internal#628) --------- Co-authored-by: M Atif Ali <atif@coder.com>
1 parent 9093dbc commit 73251cf

File tree

4 files changed

+16
-0
lines changed

4 files changed

+16
-0
lines changed

cli/ssh.go

+1
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ func (r *RootCmd) ssh() *serpent.Command {
9292
Annotations: workspaceCommand,
9393
Use: "ssh <workspace>",
9494
Short: "Start a shell into a workspace",
95+
Long: "This command does not have full parity with the standard SSH command. For users who need the full functionality of SSH, create an ssh configuration with `coder config-ssh`.",
9596
Middleware: serpent.Chain(
9697
serpent.RequireNArgs(1),
9798
r.InitClient(client),

cli/testdata/coder_ssh_--help.golden

+4
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ USAGE:
55

66
Start a shell into a workspace
77

8+
This command does not have full parity with the standard SSH command. For
9+
users who need the full functionality of SSH, create an ssh configuration with
10+
`coder config-ssh`.
11+
812
OPTIONS:
913
--disable-autostart bool, $CODER_SSH_DISABLE_AUTOSTART (default: false)
1014
Disable starting the workspace automatically when connecting via SSH.

docs/reference/cli/ssh.md

+6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/user-guides/workspace-access/index.md

+5
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,11 @@ coder ssh my-workspace
3333

3434
Or, you can configure plain SSH on your client below.
3535

36+
> [!Note]
37+
> The `coder ssh` command does not have full parity with the standard
38+
> SSH command. For users who need the full functionality of SSH, use the
39+
> configuration method below.
40+
3641
### Configure SSH
3742

3843
Coder generates [SSH key pairs](../../admin/security/secrets.md#ssh-keys) for

0 commit comments

Comments
 (0)