1
0
Fork 0
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:
Benjamin Tamasi 2019-12-07 03:20:59 +00:00 committed by Agniva De Sarker
parent 59185a7ec9
commit 7941da3123

View file

@ -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}}`