102-500 Exam QuestionsBrowse all questions from this exam

102-500 Exam - Question 85


What is true regarding public and private SSH keys? (Choose two.)

Show Answer
Correct Answer: BD

The private key must never be revealed to anyone because it is crucial for maintaining the security of the SSH connection. Sharing the private key would compromise the security. Additionally, to ensure the confidentiality of the private key, it is best practice that the SSH key pair is created by its owner. Creating the key pair ensures that the private key is only known to the owner and is not exposed during transmission or storage.

Discussion

4 comments
Sign in to comment
drliu1202Options: BD
Jul 31, 2022

Option A is wrong. For example. ## halof:~ # tree /etc/ssh /etc/ssh ├── moduli ├── ssh_config ├── ssh_host_dsa_key ├── ssh_host_dsa_key.pub ├── ssh_host_ecdsa_key ├── ssh_host_ecdsa_key.pub ├── ssh_host_ed25519_key ├── ssh_host_ed25519_key.pub ├── ssh_host_rsa_key ├── ssh_host_rsa_key.pub └── sshd_config 0 directories, 11 files ## Option B is an answer. The private key must be not readable by anyone except the owner and root. Otherwise, SSH will throw a warning. Option C is wrong. Only one public key is paired with one private key. Both of them are generated at the same time by their owner via SSH-gen. Option D is correct. As explained above. Option E is wrong. The public key should be copied to the remote SSH server. The private key must be kept private.

drliu1202
Aug 12, 2022

https://learning.lpi.org/en/learning-materials/102-500/110/110.3/110.3_01/

MchoetiOptions: BD
Apr 10, 2023

B and D .-.. Dudes please understand NEVER NEVER ever give your private key to anyone else..

amindiashviliOptions: BC
Apr 23, 2022

B and C

aris74Options: BD
Jan 16, 2023

B,D is correct for this question but i think in general that a private key can be associated with multiple public keys

blk_542
Jun 10, 2023

from what I read, they are mathematically related to each other, so what encrypted by one can only be unencrypted by the other, so the relation is 1:1