mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-06-05 13:05:59 +02:00
ssh-keygen: add -R example (#3645)
This commit is contained in:
parent
59185a7ec9
commit
7941da3123
1 changed files with 5 additions and 1 deletions
|
@ -14,7 +14,7 @@
|
|||
|
||||
`ssh-keygen -t ed25519 -a 100`
|
||||
|
||||
- Generate an RSA 4096 bit key with your email as a comment:
|
||||
- Generate an RSA 4096 bit key with email as a comment:
|
||||
|
||||
`ssh-keygen -t rsa -b 4096 -C "{{email}}"`
|
||||
|
||||
|
@ -22,6 +22,10 @@
|
|||
|
||||
`ssh-keygen -l -F {{remote_host}}`
|
||||
|
||||
- Remove the keys of a host from the known_hosts file (useful when a known host has a new key):
|
||||
|
||||
`ssh-keygen -R {{remote_host}}`
|
||||
|
||||
- Retrieve the fingerprint of a key in MD5 Hex:
|
||||
|
||||
`ssh-keygen -l -E md5 -f ~/.ssh/{{filename}}`
|
||||
|
|
Loading…
Add table
Reference in a new issue