mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
feat(cli/ssh): simplify log file flags (#7863)
And, fix a race condition.
This commit is contained in:
+2
-12
@@ -39,24 +39,14 @@ Specifies whether to forward the GPG agent. Unsupported on Windows workspaces, b
|
||||
|
||||
Specifies which identity agent to use (overrides $SSH_AUTH_SOCK), forward agent must also be enabled.
|
||||
|
||||
### --log-dir
|
||||
### -l, --log-dir
|
||||
|
||||
| | |
|
||||
| ----------- | ------------------------------- |
|
||||
| Type | <code>string</code> |
|
||||
| Environment | <code>$CODER_SSH_LOG_DIR</code> |
|
||||
| Default | <code>/tmp</code> |
|
||||
|
||||
Specify the location for the log files.
|
||||
|
||||
### -l, --log-to-file
|
||||
|
||||
| | |
|
||||
| ----------- | ----------------------------------- |
|
||||
| Type | <code>bool</code> |
|
||||
| Environment | <code>$CODER_SSH_LOG_TO_FILE</code> |
|
||||
|
||||
Enable diagnostic logging to file.
|
||||
Specify the directory containing SSH diagnostic log files.
|
||||
|
||||
### --no-wait
|
||||
|
||||
|
||||
Reference in New Issue
Block a user