Difference between revisions of "Private key"
Jump to navigation
Jump to search
(26 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
+ | |||
+ | |||
+ | == OpenSSH == | ||
+ | Generate [[OpenSSH]] private and [[public key]] | ||
+ | * <code>[[ssh-keygen]]</code> | ||
Generate [[public key]] based on private key in [[OpenSSH format]] | Generate [[public key]] based on private key in [[OpenSSH format]] | ||
− | * <code>[[ssh-keygen -y]]</code> | + | * <code>[[ssh-keygen -y]] -f [[~/.ssh/]]id_rsa > ~/.ssh/id_rsa.pub</code> |
Change the [[passphrase]] of a private key | Change the [[passphrase]] of a private key | ||
Line 9: | Line 14: | ||
* <code>[[ssh-keygen -i]]</code> | * <code>[[ssh-keygen -i]]</code> | ||
+ | Connnect with specific private key: | ||
+ | * <code>[[ssh -i]]</code> | ||
+ | == OpenSSL == | ||
[[OpenSSL]]: | [[OpenSSL]]: | ||
* <code>[[openssl genrsa]]</code> | * <code>[[openssl genrsa]]</code> | ||
+ | |||
+ | == [[Crypto]] ([[Keyfile]]) == | ||
+ | [[Ethereum Wallet]]: | ||
+ | * <code>[[geth account new]]</code>: <code>[[~/Library/Ethereum/keystore/]], [[UTC--2022-08-20T09-04-05.508818000Z--3f1f9b59574d7d19562xxxxx]]</code> | ||
+ | * <code>[[ethkey generate]]: [[keyfile.json (ethkey generate)|keyfile.json]]</code> | ||
+ | |||
+ | * [[BIP39: Mnemonic code for generating deterministic keys]] | ||
+ | * [[Secret Recovery Phrase (SRP)]] | ||
== Related terms == | == Related terms == | ||
Line 20: | Line 36: | ||
* <code>[[~/.ssh/config]]: [[IdentityFile]]</code> | * <code>[[~/.ssh/config]]: [[IdentityFile]]</code> | ||
* <code>[[chmod]]</code> | * <code>[[chmod]]</code> | ||
+ | * [[Google Cloud Platform]]: <code>[[gsutil config -e]]</code> | ||
+ | * [[Seed phrase]] | ||
== See also == | == See also == | ||
* {{ssh-keygen}} | * {{ssh-keygen}} | ||
* {{Key}} | * {{Key}} | ||
+ | * {{Private key}} | ||
[[Category:OpenSSH]] | [[Category:OpenSSH]] | ||
[[Category:Cryptography]] | [[Category:Cryptography]] |
Latest revision as of 08:30, 11 June 2024
OpenSSH[edit]
Generate OpenSSH private and public key
Generate public key based on private key in OpenSSH format
ssh-keygen -y -f ~/.ssh/id_rsa > ~/.ssh/id_rsa.pub
Change the passphrase of a private key
Convert or import key:
Connnect with specific private key:
OpenSSL[edit]
Crypto (Keyfile)[edit]
geth account new
:~/Library/Ethereum/keystore/, UTC--2022-08-20T09-04-05.508818000Z--3f1f9b59574d7d19562xxxxx
ethkey generate: keyfile.json
Related terms[edit]
- Public key
- Apple Push Notification service (APNs) auth key
.p8
- PKCS8
~/.ssh/config: IdentityFile
chmod
- Google Cloud Platform:
gsutil config -e
- Seed phrase
See also[edit]
Advertising: