ssh-keygen: refresh page (#9874)

pull/23/head
Marek Küthe 2023-05-18 05:38:04 +02:00 committed by GitHub
parent 32e885b754
commit 9413c655f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 6 deletions

View File

@ -7,13 +7,9 @@
`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}}`
- Generate an ed25519 key with 100 key derivation function rounds:
`ssh-keygen -t {{ed25519}} -a {{100}}`
`ssh-keygen -t {{ed25519}} -a {{100}} -f {{~/.ssh/filename}}`
- 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:
`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}}`