Bird
0
0

Identify the error in this SSH config snippet:

medium📝 Debug Q6 of 15
Linux CLI - SSH and Remote Access
Identify the error in this SSH config snippet:
Host myhost
HostName 192.168.0.5
User=admin
Port 2200
AUser directive uses '=' which is invalid
BHostName should be lowercase
CPort number 2200 is invalid
DHost directive must be indented
Step-by-Step Solution
Solution:
  1. Step 1: Check syntax of directives

    SSH config directives use space, not '=' to assign values.
  2. Step 2: Validate other lines

    HostName case is not sensitive, port 2200 is valid, indentation is optional but recommended.
  3. Final Answer:

    User directive uses '=' which is invalid -> Option A
  4. Quick Check:

    No '=' in SSH config directives [OK]
Quick Trick: Use space, not equals, in SSH config lines [OK]
Common Mistakes:
  • Using '=' instead of space
  • Thinking HostName case matters
  • Believing indentation is mandatory

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Linux CLI Quizzes