Bird
0
0

Which SSH mechanism allows passwordless authentication for automated remote commands?

hard📝 Application Q8 of 15
Linux CLI - SSH and Remote Access
Which SSH mechanism allows passwordless authentication for automated remote commands?
AEnabling SSH agent forwarding
BUsing SSH key pairs with an authorized_keys file
CConfiguring SSH to use password authentication
DSetting up a VPN tunnel before SSH connection
Step-by-Step Solution
Solution:
  1. Step 1: Understand SSH authentication methods

    SSH supports password and key-based authentication.
  2. Step 2: Identify passwordless authentication

    SSH key pairs stored in ~/.ssh/authorized_keys enable passwordless login.
  3. Final Answer:

    Using SSH key pairs with an authorized_keys file -> Option B
  4. Quick Check:

    Key-based authentication automates login without passwords [OK]
Quick Trick: SSH keys enable passwordless login for automation [OK]
Common Mistakes:
  • Confusing SSH agent forwarding with passwordless login
  • Assuming password authentication can be automated securely
  • Thinking VPN setup replaces SSH authentication

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Linux CLI Quizzes