Difference between revisions of "Ssh -i"

From wikieduonline
Jump to navigation Jump to search
Line 1: Line 1:
 
{{lc}}
 
{{lc}}
 
* https://linux.die.net/man/1/ssh
 
* https://linux.die.net/man/1/ssh
 +
-i identity_file
 +
Selects a file from which the identity (private key) for RSA or DSA authentication is read. The default is
 +
~/.ssh/identity for protocol version 1, and ~/.ssh/id_rsa and ~/.ssh/id_dsa for protocol version 2. 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)
  
  

Revision as of 17:12, 16 January 2023

-i identity_file
Selects a file from which the identity (private key) for RSA or DSA authentication is read. The default is 
~/.ssh/identity for protocol version 1, and ~/.ssh/id_rsa and ~/.ssh/id_dsa for protocol version 2. 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)


See also

Advertising: