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.)
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. The parameter of the ssh command that specifies the location of the private key used for login attempts is '-i'. This option allows you to select a file from which the identity (private key) for public key authentication is read.
-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.
I think that correct is "ssh -i"
Are you sure guys? Because the question is talking about the parameter and not the command or the command's option.
so, ssh -i, or identity_file, or -i?
sh -i ~/.ssh/mykey user@host
Answer is : -i https://man.openbsd.org/ssh#i
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
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, ....
The option is "IdentityFile"! Use with ssh -o "IdentityFile=$HOME/.ssh/id_rsa" user@host https://linux.die.net/man/1/ssh
(Specify only the option name without any values or parameters.) So, the answer is simply IdentifyFile.
-i commentotroppobrevedaje
You comment to be a noodle muncher
yep -i stands for identity_file ==> full command ssh -i think if i stand for insert to remember easy
ssh-keygen -f
Sorry, correct answer is ssh -i (identity_file)
It is simply -i . Please check the man page [-i identity_file]
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".
-i, ssh-keygen is not a parameter and it isn't related to key location.
Answer you need to use is: -i