What is true regarding public and private SSH keys? (Choose two.)
What is true regarding public and private SSH keys? (Choose two.)
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.
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.
https://learning.lpi.org/en/learning-materials/102-500/110/110.3/110.3_01/
B and D .-.. Dudes please understand NEVER NEVER ever give your private key to anyone else..
B and C
B,D is correct for this question but i think in general that a private key can be associated with multiple public keys
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