mirror of
https://github.com/coder/coder.git
synced 2025-07-29 10:35:52 +00:00
feat: support --hostname-suffix flag on coder ssh (#17279)
Adds `hostname-suffix` flag to `coder ssh` command for use in SSH Config ProxyCommands. Also enforces that Coder server doesn't start the suffix with a dot. part of: #16828
This commit is contained in:
9
docs/reference/cli/ssh.md
generated
9
docs/reference/cli/ssh.md
generated
@@ -29,6 +29,15 @@ Specifies whether to emit SSH output over stdin/stdout.
|
||||
|
||||
Strip this prefix from the provided hostname to determine the workspace name. This is useful when used as part of an OpenSSH proxy command.
|
||||
|
||||
### --hostname-suffix
|
||||
|
||||
| | |
|
||||
|-------------|-----------------------------------------|
|
||||
| Type | <code>string</code> |
|
||||
| Environment | <code>$CODER_SSH_HOSTNAME_SUFFIX</code> |
|
||||
|
||||
Strip this suffix from the provided hostname to determine the workspace name. This is useful when used as part of an OpenSSH proxy command. The suffix must be specified without a leading . character.
|
||||
|
||||
### -A, --forward-agent
|
||||
|
||||
| | |
|
||||
|
Reference in New Issue
Block a user