nerdexam
Microsoft

GH-100 · Question #27

You need to create a support bundle for your GitHub Enterprise Server instance with the hostname ghe.avocado.corp. What command should you use to create a support bundle?

The correct answer is A. ssh -p 122 [email protected] -- 'ghe-support-bundle -o' > support-bundle.tgz. Option A is correct because GitHub Enterprise Server exposes an administrative SSH interface on port 122 (not the standard port 22), and ghe-support-bundle -o is the legitimate command for generating a support bundle, with the -o flag directing output to stdout so it can be…

Implement GitHub Enterprise administration

Question

You need to create a support bundle for your GitHub Enterprise Server instance with the hostname ghe.avocado.corp. What command should you use to create a support bundle?

Options

How the community answered

(28 responses)
  • A
    89% (25)
  • B
    4% (1)
  • C
    7% (2)

Explanation

Option A is correct because GitHub Enterprise Server exposes an administrative SSH interface on port 122 (not the standard port 22), and ghe-support-bundle -o is the legitimate command for generating a support bundle, with the -o flag directing output to stdout so it can be redirected (>) into a .tgz file.

Why the distractors fail:

  • B uses ? and >; - invalid shell syntax that would never execute correctly, and ghe-diagnostics generates diagnostics info, not a full support bundle.
  • C uses curl against a /diagnostics/support-bundle.tgz endpoint that doesn't exist; GitHub Enterprise doesn't expose support bundle generation via an unauthenticated HTTP endpoint in this way.
  • D uses ghe-config generate-support-bundle, which is a fabricated command - ghe-config is for reading/writing instance configuration, not generating support bundles.

Memory tip: Think "SSH 122, bundle -o" - 122 is GitHub Enterprise's admin SSH port (regular 22 + 100 for "admin elevation"), and -o means output, which pairs naturally with > to save the bundle locally.

Topics

#GitHub Enterprise Server#Support bundle#Command-line administration#Troubleshooting

Community Discussion

No community discussion yet for this question.

Full GH-100 Practice