File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -398,10 +398,17 @@ func newConfigCmd(app *App) *cobra.Command {
398398 Use : "config [-c codespace]" ,
399399 Short : "Write OpenSSH configuration to stdout" ,
400400 Long : heredoc .Docf (`
401- The config command generates ssh connection configuration in OpenSSH format.
401+ The config command generates per-codespace ssh configuration in OpenSSH format.
402+
403+ Including this configuration in ~/.ssh/config simplifies integration with other tools
404+ that integrate with OpenSSH, such as bash/zsh ssh hostname completion, remote path
405+ completion for scp/rsync/sshfs, git ssh remotes, and so on.
402406
403407 If -c/--codespace is specified, configuration is generated for that codespace
404408 only. Otherwise configuration is emitted for all available codespaces.
409+
410+ Codespaces that aren't in "Available" state are skipped because it's necessary to
411+ connect to the running codespace to determine the required remote ssh username.
405412 ` , "`" ),
406413 Example : heredoc .Doc (`
407414 $ gh codespace config > ~/.ssh/codespaces
You can’t perform that action at this time.
0 commit comments