Difference between revisions of "~/.ssh/id rsa"
Jump to navigation
Jump to search
m (Ant moved page Id rsa to ~/.ssh/id rsa) |
|||
(9 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{lc}} | {{lc}} | ||
− | + | <code>[[~/.ssh/]]id_rsa</code> [[OpenSSH]] [[private key]] | |
− | id_rsa.pub | + | ~/.ssh/id_rsa.pub |
+ | Generated executing: | ||
+ | * <code>[[ssh-keygen]]</code> | ||
− | [[ssh-keygen]] | + | [[Generate public key from private key]]: |
+ | * <code>[[ssh-keygen -y]] -f [[~/.ssh/id_rsa]] > [[~/.ssh/id_rsa.pub]]</code> | ||
+ | |||
+ | |||
+ | |||
+ | [[file]] ~/.ssh/id_rsa | ||
+ | ~/.ssh/id_rsa: [[OpenSSH private key]] | ||
+ | |||
+ | == Example == | ||
+ | <pre> | ||
+ | -----BEGIN OPENSSH PRIVATE KEY----- | ||
+ | b3BXXXXXXXXX | ||
+ | XXXXXXXXXXXTh | ||
+ | -----END OPENSSH PRIVATE KEY----- | ||
+ | </pre> | ||
+ | |||
+ | == Related == | ||
+ | * <code>[[ssh-keygen -p]]</code> | ||
+ | * [[~/.ssh/id_rsa.pub]] | ||
== See also == | == See also == | ||
* {{ssh-keygen}} | * {{ssh-keygen}} | ||
− | |||
− | |||
− | |||
− | |||
[[Category:OpenSSH]] | [[Category:OpenSSH]] | ||
− | |||
− | |||
− |
Latest revision as of 14:47, 8 May 2024
~/.ssh/id_rsa
OpenSSH private key
~/.ssh/id_rsa.pub
Generated executing:
Generate public key from private key:
file ~/.ssh/id_rsa ~/.ssh/id_rsa: OpenSSH private key
Example[edit]
-----BEGIN OPENSSH PRIVATE KEY----- b3BXXXXXXXXX XXXXXXXXXXXTh -----END OPENSSH PRIVATE KEY-----
Related[edit]
See also[edit]
ssh-keygen
[-R
,-t
|-p
|-i
|-y | -f | ~/.ssh/id_rsa
|--help ] ~/.ssh/known_hosts, ssh-copy-id
Advertising: