Skip to content
forked from Eun/sshkeys

Get all ssh public keys of a ssh server

License

Notifications You must be signed in to change notification settings

benjaminbear/sshkeys

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sshkeys

Get all ssh public keys of a ssh server

Installation

go get -u github.com/Eun/sshkeys/cmd/sshkeys

OR

Prebuild from Releases

Usage

sshkeys [options] host

Options:
    -format=authorized_keys       Format to print the public keys, valid formats are: fingerprint, fingerprint-sha1, sha1, fingerprint-legacy, fingerprint-md5, md5, authorized_keys, authorizedkeys, authorized
    -output=console               Output format, valid formats are: console, json
    -timeout=60s                  Connection timeout

Example

sshkeys example.com
sshkeys -format=fingerprint-md5 -output=json example.com:22

About

Get all ssh public keys of a ssh server

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 100.0%