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…
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
- Assh -p 122 [email protected] -- 'ghe-support-bundle -o' > support-bundle.tgz
- Bssh -p 122 [email protected] ?'ghe-diagnostics'>; support-bundle.tgz
- Ccurl -u admin https://ghe.avocado.corp/diagnostics/support-bundle.tgz -o
- Dssh -p 122 [email protected] -- 'ghe-config generate-support-bundle' > support-
How the community answered
(28 responses)- A89% (25)
- B4% (1)
- C7% (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, andghe-diagnosticsgenerates diagnostics info, not a full support bundle. - C uses
curlagainst a/diagnostics/support-bundle.tgzendpoint 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-configis 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
Community Discussion
No community discussion yet for this question.