项目作者: Eun

项目描述 :
Get all ssh public keys of a ssh server
高级语言: Go
项目地址: git://github.com/Eun/sshkeys.git
创建时间: 2017-08-11T11:21:44Z
项目社区:https://github.com/Eun/sshkeys

开源协议:MIT License

下载


sshkeys

Actions Status
Coverage Status
PkgGoDev

go-report

Get all ssh public keys of an ssh server.

Installation

Docker

  1. $ docker run --rm -ti ghcr.io/eun/sshkeys:latest -algorithm=sha256 -encoding=base64 github.com

Prebuild

Download in the Releases section.

go

  1. $ go install github.com/Eun/sshkeys/cmd/sshkeys

Usage

  1. Usage: sshkeys [options] <host>
  2. Options:
  3. -a authorized_keys
  4. -algorithm=authorized_keys
  5. Algorithm to hash the public keys, valid algorithms are: sha1, sha256, md5, authorized_keys
  6. -e=
  7. -encoding=
  8. Encoding to encode the hashed keys, valid encodings are: hex, base32, base64 (only used for algorithms sha1, sha256 and md5)
  9. -o=console
  10. -output=console
  11. Output format, valid formats are: console, json
  12. -c=4
  13. -concurrent=4
  14. Concurrent workers
  15. -t=60s
  16. -timeout=60s
  17. Connection timeout

Examples

  1. $ sshkeys example.com
  2. $ sshkeys -algorithm=sha256 -encoding=base64 -output=json github.com:22

Build History

Build history