Difference between revisions of "Ssh -i"

From wikieduonline
Jump to navigation Jump to search
 
(2 intermediate revisions by one other user not shown)
Line 2: Line 2:
 
* https://linux.die.net/man/1/ssh
 
* https://linux.die.net/man/1/ssh
 
  -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 ~/.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)
+
  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 ==
 
== Related ==
 
* <code>[[ssh -vvv]]</code>
 
* <code>[[ssh -vvv]]</code>
* [[Offering RSA public key]]
+
* <code>[[ssh --login -i]]</code>
 +
* <code>[[Offering RSA public key]]</code>
  
 
== See also ==
 
== See also ==

Latest revision as of 07:46, 7 February 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[edit]

See also[edit]

Advertising: