From 85b8f04ca3b70a4411b013c103f5cb342dbb00bc Mon Sep 17 00:00:00 2001 From: Valentin Vetter Date: Fri, 6 Sep 2019 11:28:09 +0200 Subject: [PATCH] ssh-keyscan: add page --- pages/common/ssh-keyscan.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 pages/common/ssh-keyscan.md diff --git a/pages/common/ssh-keyscan.md b/pages/common/ssh-keyscan.md new file mode 100644 index 000000000..562bc4247 --- /dev/null +++ b/pages/common/ssh-keyscan.md @@ -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}}`