Linux Foundation Certified IT Associate (LFCA) — Question 7

Which utility is used to create public and private key pairs for SSH authentication?

Answer options

Correct answer: B

Explanation

The correct answer is B, ssh-keygen, which is specifically designed for generating SSH key pairs. The other options do not serve this purpose; A (adduser) is for creating new users, C (keygen) is not a standard command related to SSH, and D (ssh) is for establishing SSH connections, not generating keys.