Bird
0
0

You want to automate SSH login to multiple servers without typing passwords. Which SSH feature helps achieve this?

hard📝 Application Q8 of 15
Linux CLI - SSH and Remote Access
You want to automate SSH login to multiple servers without typing passwords. Which SSH feature helps achieve this?
AUsing SSH key pairs with ssh-agent
BChanging SSH port to 2222
CUsing the -v option for verbose output
DDisabling host key checking
Step-by-Step Solution
Solution:
  1. Step 1: Identify automation method

    SSH key pairs allow passwordless login when keys are set up.
  2. Step 2: Understand ssh-agent role

    ssh-agent manages private keys securely for automated authentication.
  3. Final Answer:

    Using SSH key pairs with ssh-agent -> Option A
  4. Quick Check:

    SSH key pairs enable passwordless login [OK]
Quick Trick: Use SSH keys and ssh-agent for passwordless login [OK]
Common Mistakes:
  • Thinking port change automates login
  • Using verbose mode for automation
  • Disabling host key checking is insecure

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Linux CLI Quizzes