Bird
0
0

Which command correctly generates an SSH key pair on your Raspberry Pi?

easy📝 Syntax Q12 of 15
Raspberry Pi - Security and Deployment
Which command correctly generates an SSH key pair on your Raspberry Pi?
Assh-keygen --firewall
Bssh-keygen -p rsa
Cssh-keygen -t rsa
Dfirewall-cmd --generate-key
Step-by-Step Solution
Solution:
  1. Step 1: Identify the SSH key generation command

    The standard command to create SSH keys is ssh-keygen with the -t option to specify the type, e.g., rsa.
  2. Step 2: Check options for correctness

    -p changes the passphrase, --firewall and firewall-cmd are unrelated to SSH keys.
  3. Final Answer:

    ssh-keygen -t rsa -> Option C
  4. Quick Check:

    ssh-keygen -t rsa = generate SSH keys [OK]
Quick Trick: Use ssh-keygen with -t to specify key type [OK]
Common Mistakes:
MISTAKES
  • Using -p instead of -t for key generation
  • Confusing firewall commands with SSH key commands
  • Trying to generate keys with firewall tools

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Raspberry Pi Quizzes