소스 검색

ssh-keyscan: add page

Valentin Vetter 5 년 전
부모
커밋
85b8f04ca3
1개의 변경된 파일15개의 추가작업 그리고 0개의 파일을 삭제
  1. 15 0
      pages/common/ssh-keyscan.md

+ 15 - 0
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}}`