Bird
0
0

What will be the output when you run ssh -V on a Linux terminal?

medium📝 Command Output Q13 of 15
Linux CLI - SSH and Remote Access
What will be the output when you run ssh -V on a Linux terminal?
AIt starts an SSH session to the default host
BIt displays an error about missing arguments
CIt shows the SSH client version information
DIt lists all available SSH commands
Step-by-Step Solution
Solution:
  1. Step 1: Understand the -V flag in SSH

    The -V option with SSH shows the version of the SSH client installed.
  2. Step 2: Analyze other options

    It starts an SSH session to the default host is wrong because ssh without arguments starts a session only if a host is specified. It lists all available SSH commands is incorrect because ssh -h or ssh --help lists commands. It displays an error about missing arguments is wrong because -V does not require extra arguments and does not cause an error.
  3. Final Answer:

    It shows the SSH client version information -> Option C
  4. Quick Check:

    ssh -V = version info [OK]
Quick Trick: Use ssh -V to check version info [OK]
Common Mistakes:
  • Confusing -V with -v (verbose)
  • Expecting it to start a session
  • Thinking it lists commands

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Linux CLI Quizzes