mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-01 18:15:24 +02:00
ssh-keyscan: clarify placeholder (#16752)
This commit is contained in:
parent
013d823516
commit
39ee15df80
1 changed files with 4 additions and 4 deletions
|
@ -5,16 +5,16 @@
|
|||
|
||||
- Retrieve all public SSH keys of a remote host:
|
||||
|
||||
`ssh-keyscan {{host}}`
|
||||
`ssh-keyscan {{hostname}}`
|
||||
|
||||
- Retrieve all public SSH keys of a remote host listening on a specific port:
|
||||
|
||||
`ssh-keyscan -p {{port}} {{host}}`
|
||||
`ssh-keyscan -p {{port}} {{hostname}}`
|
||||
|
||||
- Retrieve certain types of public SSH keys of a remote host:
|
||||
|
||||
`ssh-keyscan -t {{rsa,dsa,ecdsa,ed25519}} {{host}}`
|
||||
`ssh-keyscan -t {{rsa,dsa,ecdsa,ed25519}} {{hostname}}`
|
||||
|
||||
- Manually update the SSH known_hosts file with the fingerprint of a given host:
|
||||
|
||||
`ssh-keyscan -H {{host}} >> ~/.ssh/known_hosts`
|
||||
`ssh-keyscan -H {{hostname}} >> ~/.ssh/known_hosts`
|
||||
|
|
Loading…
Add table
Reference in a new issue