ssh-keygen: add -R example (#3645)
This commit is contained in:

committed by
Agniva De Sarker

parent
59185a7ec9
commit
7941da3123
@@ -14,7 +14,7 @@
|
|||||||
|
|
||||||
`ssh-keygen -t ed25519 -a 100`
|
`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}}"`
|
`ssh-keygen -t rsa -b 4096 -C "{{email}}"`
|
||||||
|
|
||||||
@@ -22,6 +22,10 @@
|
|||||||
|
|
||||||
`ssh-keygen -l -F {{remote_host}}`
|
`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:
|
- Retrieve the fingerprint of a key in MD5 Hex:
|
||||||
|
|
||||||
`ssh-keygen -l -E md5 -f ~/.ssh/{{filename}}`
|
`ssh-keygen -l -E md5 -f ~/.ssh/{{filename}}`
|
||||||
|
Reference in New Issue
Block a user