ssh-keygen: small improvement and fix (#10261)
This commit is contained in:
@@ -7,13 +7,13 @@
|
||||
|
||||
`ssh-keygen`
|
||||
|
||||
- Generate an ed25519 key with 100 key derivation function rounds and save the key to a specific file:
|
||||
- Generate an ed25519 key with 32 key derivation function rounds and save the key to a specific file:
|
||||
|
||||
`ssh-keygen -t {{ed25519}} -a {{100}} -f {{~/.ssh/filename}}`
|
||||
`ssh-keygen -t {{ed25519}} -a {{32}} -f {{~/.ssh/filename}}`
|
||||
|
||||
- Generate an RSA 4096-bit key with email as a comment:
|
||||
|
||||
`ssh-keygen -t {{dsa|ecdsa|ed25519|rsa}} -b {{4096}} -C "{{comment|email}}"`
|
||||
`ssh-keygen -t {{rsa}} -b {{4096}} -C "{{comment|email}}"`
|
||||
|
||||
- Remove the keys of a host from the known_hosts file (useful when a known host has a new key):
|
||||
|
||||
|
Reference in New Issue
Block a user