Get Unlimited Contributor Access to the all ExamTopics Exams!
Take advantage of PDF Files for 1000+ Exams along with community discussions and pass IT Certification Exams Easily.
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.)
-i
(identity_file)
Selects a file from which the identity (private key) for public key authentication is read. The default is ~/.ssh/id_dsa, ~/.ssh/id_ecdsa, ~/.ssh/id_ecdsa_sk, ~/.ssh/id_ed25519, ~/.ssh/id_ed25519_sk and ~/.ssh/id_rsa.
Identity files may also be specified on a per-host basis in the configuration file. It is possible to have multiple -i options (and multiple identities specified in configuration files).
If no certificates have been explicitly specified by theCertificateFile directive, ssh will also try to load certificate information from the filename obtained by appending -cert.pub to identity filenames.
The full command to this would be ssh -i ~/.ssh/key user@host
But because the question asks "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.)" that makes the correct answer for this question to be simply "-i".
from MAN page for ssh
OPTIONS
-i identity_file
Selects a file from which the identity (private key) for public
key authentication is read. You can also specify a public key
file to use the corresponding private key that is loaded in
ssh-agent(1) when the private key file is not present locally.
The default is ~/.ssh/id_rsa, ~/.ssh/id_ecdsa,
....
From the MAN pages of SSH:
-i identity_file
Selects a file from which the identity (private key) for public
key authentication is read. You can also specify a public key
file to use the corresponding private key that is loaded in
ssh-agent(1) when the private key file is not present locally.
....
So my answer is -i
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Vendo
Highly Voted 3 years, 9 months agoThi_86
Highly Voted 3 years, 10 months agodonec
Most Recent 2 weeks agoblk_542
1 year agovalhallaone
1 year, 2 months agoMchoeti
1 year, 2 months agodrliu1202
1 year, 11 months agolucaverce
2 years, 1 month agolucaverce
2 years, 1 month agoLazylinux
2 years, 2 months agogaber
3 years, 4 months agoMcLaba
3 years, 1 month agoRini_Giannenzo
3 years, 6 months agoTimfdklfajlksdjlakf
2 years, 11 months agoMIU
3 years, 7 months agolollo1234
3 years, 8 months agoHotSpotLTE
3 years, 10 months agoyigido
3 years, 10 months agoyigido
3 years, 10 months ago