Difference between revisions of "Private key"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
− | + | == OpenSSH == | |
Generate [[OpenSSH]] private and [[public key]] | Generate [[OpenSSH]] private and [[public key]] | ||
* <code>[[ssh-keygen]]</code> | * <code>[[ssh-keygen]]</code> | ||
Line 17: | Line 17: | ||
* <code>[[ssh -i]]</code> | * <code>[[ssh -i]]</code> | ||
− | + | == OpenSSL == | |
[[OpenSSL]]: | [[OpenSSL]]: | ||
* <code>[[openssl genrsa]]</code> | * <code>[[openssl genrsa]]</code> | ||
+ | |||
+ | == Geth == | ||
+ | * <code>[[geth account new]]</code>: <code>[[~/Library/Ethereum/keystore/]], [[UTC--2022-08-20T09-04-05.508818000Z--3f1f9b59574d7d19562xxxxx]]</code> | ||
+ | |||
== Related terms == | == Related terms == | ||
Line 30: | Line 34: | ||
* [[Google Cloud Platform]]: <code>[[gsutil config -e]]</code> | * [[Google Cloud Platform]]: <code>[[gsutil config -e]]</code> | ||
* [[ethkey generate]]: [[keyfile.json (ethkey generate)|keyfile.json]] | * [[ethkey generate]]: [[keyfile.json (ethkey generate)|keyfile.json]] | ||
− | |||
== See also == | == See also == |
Revision as of 16:04, 8 May 2024
Contents
OpenSSH
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
Geth
geth account new
:~/Library/Ethereum/keystore/, UTC--2022-08-20T09-04-05.508818000Z--3f1f9b59574d7d19562xxxxx
Related terms
- Public key
- Apple Push Notification service (APNs) auth key
.p8
- PKCS8
~/.ssh/config: IdentityFile
chmod
- Google Cloud Platform:
gsutil config -e
- ethkey generate: keyfile.json
See also
Advertising: