mirror of https://github.com/CrimsonTome/tldr.git
ssh-keygen: refresh page (#9874)
parent
32e885b754
commit
9413c655f4
|
@ -7,13 +7,9 @@
|
||||||
|
|
||||||
`ssh-keygen`
|
`ssh-keygen`
|
||||||
|
|
||||||
- Specify file in which to save the key:
|
- Generate an ed25519 key with 100 key derivation function rounds and save the key to a specific file:
|
||||||
|
|
||||||
`ssh-keygen -f {{~/.ssh/filename}}`
|
`ssh-keygen -t {{ed25519}} -a {{100}} -f {{~/.ssh/filename}}`
|
||||||
|
|
||||||
- Generate an ed25519 key with 100 key derivation function rounds:
|
|
||||||
|
|
||||||
`ssh-keygen -t {{ed25519}} -a {{100}}`
|
|
||||||
|
|
||||||
- Generate an RSA 4096-bit key with email as a comment:
|
- Generate an RSA 4096-bit key with email as a comment:
|
||||||
|
|
||||||
|
@ -34,3 +30,7 @@
|
||||||
- Change the type of the key format (for example from OPENSSH format to PEM), the file will be rewritten in-place:
|
- Change the type of the key format (for example from OPENSSH format to PEM), the file will be rewritten in-place:
|
||||||
|
|
||||||
`ssh-keygen -p -N "" -m {{PEM}} -f {{~/.ssh/OpenSSH_private_key}}`
|
`ssh-keygen -p -N "" -m {{PEM}} -f {{~/.ssh/OpenSSH_private_key}}`
|
||||||
|
|
||||||
|
- Retrieve public key from secret key:
|
||||||
|
|
||||||
|
`ssh-keygen -y -f {{~/.ssh/OpenSSH_private_key}}`
|
||||||
|
|
Loading…
Reference in New Issue