Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.

Unlimited Access

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.

Exam 102-500 topic 1 question 90 discussion

Actual exam question from LPI's 102-500
Question #: 90
Topic #: 1
[All 102-500 Questions]

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.)

Show Suggested Answer Hide Answer
Suggested Answer: ssh-keygen

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Vendo
Highly Voted 3 years, 9 months ago
-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.
upvoted 18 times
...
Thi_86
Highly Voted 3 years, 10 months ago
I think that correct is "ssh -i"
upvoted 11 times
...
donec
Most Recent 2 weeks ago
Answer you need to use is: -i
upvoted 1 times
...
blk_542
1 year ago
-i, ssh-keygen is not a parameter and it isn't related to key location.
upvoted 1 times
...
valhallaone
1 year, 2 months ago
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".
upvoted 1 times
...
Mchoeti
1 year, 2 months ago
It is simply -i . Please check the man page [-i identity_file]
upvoted 1 times
...
drliu1202
1 year, 11 months ago
Answer is : -i https://man.openbsd.org/ssh#i
upvoted 4 times
...
lucaverce
2 years, 1 month ago
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, ....
upvoted 3 times
...
lucaverce
2 years, 1 month ago
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
upvoted 3 times
...
Lazylinux
2 years, 2 months ago
yep -i stands for identity_file ==> full command ssh -i think if i stand for insert to remember easy
upvoted 2 times
...
gaber
3 years, 4 months ago
so, ssh -i, or identity_file, or -i?
upvoted 4 times
McLaba
3 years, 1 month ago
sh -i ~/.ssh/mykey user@host
upvoted 2 times
...
...
Rini_Giannenzo
3 years, 6 months ago
-i commentotroppobrevedaje
upvoted 2 times
Timfdklfajlksdjlakf
2 years, 11 months ago
You comment to be a noodle muncher
upvoted 3 times
...
...
MIU
3 years, 7 months ago
(Specify only the option name without any values or parameters.) So, the answer is simply IdentifyFile.
upvoted 2 times
...
lollo1234
3 years, 8 months ago
The option is "IdentityFile"! Use with ssh -o "IdentityFile=$HOME/.ssh/id_rsa" user@host https://linux.die.net/man/1/ssh
upvoted 2 times
...
HotSpotLTE
3 years, 10 months ago
Are you sure guys? Because the question is talking about the parameter and not the command or the command's option.
upvoted 5 times
...
yigido
3 years, 10 months ago
ssh-keygen -f
upvoted 1 times
yigido
3 years, 10 months ago
Sorry, correct answer is ssh -i (identity_file)
upvoted 5 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
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.

SaveCancel
Loading ...
ex Want to SAVE BIG on Certification Exam Prep?
close
ex Unlock All Exams with ExamTopics Pro 75% Off
  • arrow Choose From 1000+ Exams
  • arrow Access to 10 Exams per Month
  • arrow PDF Format Available
  • arrow Inline Discussions
  • arrow No Captcha/Robot Checks
Limited Time Offer
Ends in