diff --git a/pkg/cmd/codespace/ssh.go b/pkg/cmd/codespace/ssh.go index d8ee955f1..18730a176 100644 --- a/pkg/cmd/codespace/ssh.go +++ b/pkg/cmd/codespace/ssh.go @@ -199,7 +199,7 @@ func (a *App) printOpenSSHConfig(ctx context.Context, opts configOptions, execut err error } - sshUsers := make(chan sshResult) + sshUsers := make(chan sshResult, len(csList)) var wg sync.WaitGroup var status error for _, cs := range csList {