Difference between revisions of "Private key"
Jump to navigation
Jump to search
Line 6: | Line 6: | ||
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 |
Revision as of 14:43, 8 May 2024
Generate 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:
Related terms
- Public key
- Apple Push Notification service (APNs) auth key
.p8
- PKCS8
~/.ssh/config: IdentityFile
chmod
- Google Cloud Platform:
gsutil config -e
- keyfile.json (ethkey generate)
See also
ssh-keygen
[-R
,-t
|-p
|-i
|-y | -f | ~/.ssh/id_rsa
|--help ] ~/.ssh/known_hosts
- Public key cryptography,
private key
,public key
,key length
,ssh-keygen
,ssh-keyscan
, Root certificate, KEX, Generate a key
Advertising: