FILL BLANK
Which parameter of the ssh command specifies the location of the private key used for login attempts? (Specify only the option name without any values or parameters.)
A. ssh-keygen
FILL BLANK
Which parameter of the ssh command specifies the location of the private key used for login attempts? (Specify only the option name without any values or parameters.)
A. ssh-keygen
The question is which parameter….not which command option? read accurately
IdentityFile is the right answer. It is an option of the ssh command : IdentityFile
Specifies a file from which the user’s RSA or DSA authentication identity is read. The default is ~/.ssh/identity for protocol version 1, and ~/.ssh/id_rsa and ~/.ssh/id_dsa for protocol version 2. Additionally, any identities represented by the authentication agent will be used for authentication.
In my distro (CentOS 8) it is called identity_file and you can use it by ssh -i
no ssh-keygen ist right.
IdentityFile is an entry in the ssh configfile. test it with:
cat /etc/ssh/ssh_config
Wrong answer. The right answer is IdentityFile