Bird
0
0

What files are created by default when you run ssh-keygen -t ed25519 on your Raspberry Pi?

medium📝 Predict Output Q5 of 15
Raspberry Pi - Security and Deployment
What files are created by default when you run ssh-keygen -t ed25519 on your Raspberry Pi?
AOnly a private key file in <code>/etc/ssh/</code>
BA private key and a public key file in <code>~/.ssh/</code> directory
CA password file in <code>/etc/passwd</code>
DA configuration file in <code>~/.ssh/config</code>
Step-by-Step Solution
Solution:
  1. Step 1: Run ssh-keygen

    The command generates a key pair for SSH authentication.
  2. Step 2: Check default output

    By default, it creates a private key (e.g., id_ed25519) and a public key (id_ed25519.pub) in the ~/.ssh/ directory.
  3. Final Answer:

    A -> Option B
  4. Quick Check:

    Keys stored in ~/.ssh/ [OK]
Quick Trick: SSH keys generate private and public files in ~/.ssh/ [OK]
Common Mistakes:
MISTAKES
  • Assuming keys are stored in /etc/ssh/
  • Expecting only one key file
  • Confusing key files with config files

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Raspberry Pi Quizzes