nerdexam
CompTIA

XK0-004 · Question #522

A Linux administrator needs to generate SSH keys for remote users. The company security policy requires at least 4096-bit encryption on all public/private key pairs. Which of the following commands sh

The correct answer is B. ssh-keygen -b 4096. The algorithm is selected using the -t option and key size using the -b option. The following commands illustrate: ssh-keygen -t rsa -b 4096

Security

Question

A Linux administrator needs to generate SSH keys for remote users. The company security policy requires at least 4096-bit encryption on all public/private key pairs. Which of the following commands should the administrator issue to comply with company policy?

Options

  • Assh-keygen -c 4096
  • Bssh-keygen -b 4096
  • Cssh-keygen -t rsa
  • Dssh-keygen -t dsa

How the community answered

(45 responses)
  • A
    4% (2)
  • B
    93% (42)
  • C
    2% (1)

Explanation

The algorithm is selected using the -t option and key size using the -b option. The following commands illustrate: ssh-keygen -t rsa -b 4096

Topics

#ssh-keygen#SSH key generation#key bit length#public/private key pair

Community Discussion

No community discussion yet for this question.

Full XK0-004 Practice