Difference between revisions of "Ssh -i"

From wikieduonline
Jump to navigation Jump to search
Line 3: Line 3:
 
  -i identity_file
 
  -i identity_file
 
  Selects a file from which the identity (private key) for RSA or DSA authentication is read. The default is  
 
  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  
+
  ~/.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)
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:16, 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)


Related

See also

Advertising: