X Tutup
Skip to content

Commit 3f5311e

Browse files
authored
Merge pull request cli#5345 from znull/znull/ssh-config-example
ssh.go: use setup example that should work with any ssh config
2 parents ce8f66b + 17cb634 commit 3f5311e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/cmd/codespace/ssh.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ func newSSHCmd(app *App) *cobra.Command {
5959
$ gh codespace ssh
6060
6161
$ gh codespace ssh --config > ~/.ssh/codespaces
62-
$ echo 'include ~/.ssh/codespaces' >> ~/.ssh/config
62+
$ printf 'Match all\nInclude ~/.ssh/codespaces\n' >> ~/.ssh/config
6363
`),
6464
PreRunE: func(c *cobra.Command, args []string) error {
6565
if opts.stdio {

0 commit comments

Comments
 (0)
X Tutup