nerdexam
CompTIA

XK0-006 · Question #80

A newly hired Linux administrator needs to grant access to the Linux servers by generating a password-protected RSA key of 4096 bytes. Which of the following commands will accomplish this task?

The correct answer is B. ssh-keygen -t rsa -b 4096. The ssh-keygen command is used to generate SSH key pairs. To generate an RSA key with a length of 4096 bits, the correct syntax is: -t rsa: Specifies the type of key to generate, which is RSA. -b 4096: Specifies the number of bits for the key, in this case 4096. By running this…

Security

Question

A newly hired Linux administrator needs to grant access to the Linux servers by generating a password-protected RSA key of 4096 bytes. Which of the following commands will accomplish this task?

Options

  • Assh-keygen -RPb 4096
  • Bssh-keygen -t rsa -b 4096
  • Cssh-keygen -k rsa -l 4096 -p
  • Dssh-keygen -t dsa -B 4096

How the community answered

(23 responses)
  • B
    96% (22)
  • C
    4% (1)

Explanation

The ssh-keygen command is used to generate SSH key pairs. To generate an RSA key with a length of 4096 bits, the correct syntax is: -t rsa: Specifies the type of key to generate, which is RSA. -b 4096: Specifies the number of bits for the key, in this case 4096. By running this command, the user will be prompted to enter a passphrase to password-protect the key, which satisfies the requirement for generating a password-protected RSA key of 4096

Topics

#ssh-keygen#RSA key#key generation#4096-bit

Community Discussion

No community discussion yet for this question.

Full XK0-006 Practice