LPIC-2 Exam 202 (Linux Engineer) — Question 93
After running ssh-keygen and accepting the default values, which of the following files are changed or created? (Choose two.)
Answer options
- A. ~/.ssh/id_rsa.key
- B. ~/.ssh/id_rsa.pub
- C. ~/.ssh/id_rsa.prv
- D. ~/.ssh/id_rsa.crt
- E. ~/.ssh/id_rsa
Correct answer: B, E
Explanation
The correct answers are B and E because running ssh-keygen generates a public key file named id_rsa.pub and a private key file named id_rsa in the ~/.ssh directory. The other options do not represent files typically created or modified by the ssh-keygen command.