mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-23 20:02:09 +02:00
ssh-keyscan: add page
This commit is contained in:
parent
be391ec40f
commit
85b8f04ca3
1 changed files with 15 additions and 0 deletions
15
pages/common/ssh-keyscan.md
Normal file
15
pages/common/ssh-keyscan.md
Normal file
|
@ -0,0 +1,15 @@
|
|||
# ssh-keyscan
|
||||
|
||||
> Get the public ssh keys of remote hosts.
|
||||
|
||||
- Retrieve all public ssh keys of a remote host:
|
||||
|
||||
`ssh-keyscan {{host}}`
|
||||
|
||||
- Retrieve all public ssh keys of a remote host listening on a specific port:
|
||||
|
||||
`ssh-keyscan -p {{port}} {{host}}`
|
||||
|
||||
- Retrieve certain types of public ssh keys of a remote host:
|
||||
|
||||
`ssh-keyscan -t rsa,dsa,ecdsa,ed25519 {{host}}`
|
Loading…
Add table
Reference in a new issue