Difference between revisions of "Private key"
Jump to navigation
Jump to search
(19 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | + | == OpenSSH == | |
− | Generate private and [[public key]] | + | Generate [[OpenSSH]] private and [[public key]] |
* <code>[[ssh-keygen]]</code> | * <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]] -f ~/.ssh/id_rsa > ~/.ssh/id_rsa.pub</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 17: | Line 17: | ||
* <code>[[ssh -i]]</code> | * <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 28: | Line 36: | ||
* <code>[[~/.ssh/config]]: [[IdentityFile]]</code> | * <code>[[~/.ssh/config]]: [[IdentityFile]]</code> | ||
* <code>[[chmod]]</code> | * <code>[[chmod]]</code> | ||
− | * <code>[[gsutil config -e]]</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: