nerdexam
CompTIA

LX0-104 · Question #510

When generating new authentication keys with SSH for a user, where should the private key be kept?

The correct answer is A. On any trusted system from which the user will login.. The SSH private key, which is used to authenticate the user, must be securely stored on the client system(s) from which the user intends to initiate SSH connections.

Security

Question

When generating new authentication keys with SSH for a user, where should the private key be kept?

Options

  • AOn any trusted system from which the user will login.
  • BOn a CD-ROM or USB stick.
  • CPrinted and kept in a secure place.
  • DOnly on the computer where the key was created.
  • ESSH does not use private keys.

How the community answered

(30 responses)
  • A
    93% (28)
  • C
    3% (1)
  • D
    3% (1)

Why each option

The SSH private key, which is used to authenticate the user, must be securely stored on the client system(s) from which the user intends to initiate SSH connections.

AOn any trusted system from which the user will login.Correct

The private key is required on the client machine to authenticate the user to the remote server; it must be kept secure but accessible by the user on any trusted system they use to log in via SSH. A common practice is to protect it with a strong passphrase and ensure file permissions are restrictive.

BOn a CD-ROM or USB stick.

While a CD-ROM or USB stick can be secure, it makes the key inconvenient for regular use and is typically not the primary location for an actively used SSH private key.

CPrinted and kept in a secure place.

Printing a private key introduces security risks like physical theft and makes it unusable for digital authentication without re-typing.

DOnly on the computer where the key was created.

Restricting the private key to only the creation machine limits its utility, as users often need to SSH from multiple trusted devices.

ESSH does not use private keys.

SSH absolutely uses private and public keys for authentication; public key cryptography is a cornerstone of SSH security.

Concept tested: SSH private key storage

Source: https://www.ssh.com/academy/ssh/private-key

Topics

#SSH keys#private key security#authentication#key management

Community Discussion

No community discussion yet for this question.

Full LX0-104 Practice