Bird
0
0

Why does SSH use public-key cryptography instead of just passwords for authentication?

hard📝 Conceptual Q10 of 15
Linux CLI - SSH and Remote Access
Why does SSH use public-key cryptography instead of just passwords for authentication?
APasswords cannot be used with SSH.
BPublic-key cryptography is more secure and avoids sending passwords over the network.
CPublic keys allow anonymous login without authentication.
DPasswords are faster but less secure than public keys.
Step-by-Step Solution
Solution:
  1. Step 1: Understand SSH authentication methods

    SSH supports passwords and public-key authentication.
  2. Step 2: Identify advantage of public keys

    Public-key cryptography avoids sending passwords and is more secure.
  3. Final Answer:

    Public-key cryptography is more secure and avoids sending passwords over the network. -> Option B
  4. Quick Check:

    Public-key = secure authentication [OK]
Quick Trick: Public keys secure SSH by avoiding password transmission [OK]
Common Mistakes:
  • Thinking passwords are faster and more secure
  • Believing public keys allow anonymous login
  • Assuming SSH cannot use passwords

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Linux CLI Quizzes