Bird
0
0

Why does SSH key-based authentication improve security compared to password authentication?

hard📝 Conceptual Q10 of 15
Linux CLI - SSH and Remote Access
Why does SSH key-based authentication improve security compared to password authentication?
AIt allows anyone with the public key to log in
BPrivate keys are never sent over the network, preventing interception
CKey-based authentication disables all logging
DPasswords are stored in plain text on the server
Step-by-Step Solution
Solution:
  1. Step 1: Understand how SSH key authentication works

    Private keys stay on the client and are never transmitted, only proof of possession is sent.
  2. Step 2: Compare with password authentication risks

    Passwords can be intercepted or guessed; keys avoid this by not sending secrets over the network.
  3. Final Answer:

    Private keys are never sent over the network, preventing interception -> Option B
  4. Quick Check:

    Private keys stay local, improving security = D [OK]
Quick Trick: Private keys stay local; passwords travel over network [OK]
Common Mistakes:
  • Thinking passwords are stored in plain text
  • Believing key auth disables logging
  • Assuming public key grants access alone

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Linux CLI Quizzes